This is because we are ran by
my $cmd = "pugs $scr $intmp";
which means that we are getting the name of the file to be read as the first command line argument. But, based on my (granted, limited) understanding, =<> would read from the standard input. Am I completely missing something here again?
| [reply] [d/l] [select] |
=<> is supposed work the same as magical <> in Perl 5. To explicitly read from
standard input would require =$*IN instead.
| [reply] [d/l] [select] |
my@l= =<>;
print @l;
wants to read from the standard input with current Pugs, even if command line arguments are given! In contrast, as TimToady pointed it out, it should read from the files given in the command line arguments, if there are any!
| [reply] [d/l] |