in reply to Re^3: Benchmark diamond operator
in thread Benchmark diamond operator

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.

Seeking for Perl wisdom...on the process of learning...not there...yet!