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


in reply to Redirection for Perl in Windows 7 fails?

In my experience, you need to add perl at the beginning of the line:

perl unichist.pl pashtoUTF8.txt > charlist.txt

Perhaps a suitable shebang line at the beginning of the script would work as well. As I am lazy I have not tried.

For every complex problem there is an answer that is clear, simple, and wrong. H. L. Mencken
  • Comment on Re: Redirection for Perl in Windows 7 fails?