http://qs321.pair.com?node_id=1025669


in reply to Re: <> oddity ?
in thread <> oddity ?

If you call the code below stdin.pl,

while(<>) { print; }

then all three commands below result in the same output:

$ perl stdin.pl stdin.pl $ perl stdin.pl < stdin.pl $ cat stdin.pl | perl stdin.pl