Well, I went and looked at the Camel book again, and (to my surprise) the behaviour was documented. So yes -- I was not reading carefully, but...
I still think I wasn't out of my mind to be surprised. The only things I've used the angled brackets for are reading from file handles and globbing. The connection between <> and @ARGV doesn't seem obvious to me. It's a special-case behaviour.
I've only been w/ Perl for 1.5 years. Give me time. :)
In reply to RE: and @ARGV
by beppu
in thread Subtle Quirks
by beppu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |