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.
Precedence? (Score:2)
Just looking at it, I'd guess that it's a precedence issue and you need some parens thrown in. This is what I get from B::Deparse.
So, not what I expected, but still an
Re: (Score:2)
It's a context error. Consider the first line:
That must be scalar context (in fact, the || forces the left side to be in scalar context). However, consider the new version:
We have a list, not an assignment, so we have list context. getpwuid $> in list context generates more than one value and Readonly recognizes that we're trying to use a scalar, so it dies. The fix is to fo
Re: (Score:1)
Nasty (Score:1)
This is probably one of those times to say “Perl 6 will fix that.”
(Besides providing for such as “
is ro.”)