in reply to Re: Perl oddities
in thread Perl oddities
But it doesn't have a (native) switch.
No fair, picking on explicit design decisions. :-)
Warn (wrongly) for one particular function
What's wrong about the warning? It's there to prevent the common pitfall of expecting things like this to work right:
print (stat)[9];
And seems like a perfectly reasonable warning. Many other warnings are special-cased and very specific, so I don't know why you chose this one.
Update: I didn't realize the warning would trigger with one and only one space. That does seem kind of peculiar. But if that was the crux of what the OP was talking about, it wasn't exactly clear.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Perl oddities
by QM (Parson) on Mar 01, 2005 at 23:55 UTC | |
Re^3: Perl oddities
by Anonymous Monk on Mar 02, 2005 at 13:09 UTC |
In Section
Meditations