in reply to Re^3: Can't find any documentation on < a b c > syntax for lists
in thread Can't find any documentation on < a b c > syntax for lists

> Why are these different?

> perl -MO=Deparse,-p -e 'print "$_\n" for < a >;'

> perl -MO=Deparse,-p -e 'print "$_\n" for <a>;'

a could be an old-style bare-word file-handle, but " a " can't

think

instead of the common FH

one of the reasons why ppl are encouraged to use lexical filehandles:

Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery

  • update: added code tags in citations, thanks hippo++