Hello again tobyink,
Thanks for the analytical explanation. I knew that the error was coming because it was reading the STDIN and it was expecting to be fed but I did not know how to overcome this problem.
Very nice trick to store the @ARGV temporarily on an array and then call it infinite times since it is not altered every time the loop runs. So simple and very clever at the same time.
Thank you for your time and effort.
In reply to Re^4: Benchmark diamond operator
by thanos1983
in thread Benchmark diamond operator
by thanos1983
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |