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] |
rg0now! it's now fixed! :)
| [reply] |
Bad, bad autrijus!...:-)
You know really well, it is not entirely fixed (but hats off, for the speed). I mean, I looked into the source, as of Pugs r650, and found that = <>, if called with non-empty ARGS[], will only use the first argument, and not the entire list, as required by perlop. But with my limited understanding of Haskell, I could not fix it. And you couldn't either, otherwise, you would not have written "XXX wrong" in the source...:-)))
Now, I am going to read some good Haskell tutorials...
| [reply] [d/l] [select] |