Perl Idioms From Beyond
You may or may not know about this little (hopefully largely unused) idiom:
perl -le '$FILE = ".bashrc"; open(FILE); print <FILE>'Since we don't use global variables anymore (right?), this is no longer useful. But wouldn't it be cool if that could work with lexicals? I offer no solution. Just the thought.
Leave a comment