NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
WTF Is expand? (Score:2)
--Theory
Re: (Score:2)
The weird code just through you off there. It's a key in a hash. If there was a fat comma (=>) to the right of "expand", that code would look and behave just fine.
Re: (Score:2)
Ah, I see. Except that it's not a key in a hash in that code, but a method.
--Theory
Re: (Score:2)
A: I should have written "threw", not "through". I hate it when I do that. B: I know it's a method. That was the point of the original post :)
Indirect object syntax (Score:1)
my $dog = new Dog;does. More not-much-used-syntax we should get rid of?
(Hmm, print uses it, took me a while to figure which doc it's in, perlobj)
Aren't typos fun?