http://www.perlmonks.org?node_id=928643


in reply to Re: Has anyone seen perl losing arguments?
in thread Has anyone seen perl losing arguments?

Invoking 2_CleanXMLfiles.pl this way relies on the association of perl with .pl, and has worked on all the other flavours of Windows I have used (I had left that call as it was for years, because up until now, it has worked - and if it ain't broke, don't fix it). $now_string is wrapped in quotes because it has a format like "Tue Sep 20 2011 A". Failure to wrap it in quotes would have that misinterpreted as 5 arguments.

  • Comment on Re^2: Has anyone seen perl losing arguments?