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.
one-arg open() (Score:3, Interesting)
open 0has been sighted in programs that print themselves.Reply to This
*0 (Score:4, Informative)
Reply to This
Re:*0 (Score:2)
And what, interesting discussions don't happen on use Perl?
Re:*0 (Score:4, Funny)
Reply to This
Parent
Re:*0 (Score:3, Funny)
An Ugly Lexicalish Solution (Score:3, Interesting)
Here's one shot at it:
perl -e 'my $file = ".bashrc"; open( *FILE = \$file ); print <FILE>'It even works with strict and warnings. It doesn't work with the flags
-ew, though, which should tell you something. (-weworks.)Reply to This