in reply to Convert file to unix

Try using ExtUtils::Command.

perl -MExtUtils::Command -e dos2unix filename.txt > filename_new.txt

Replies are listed 'Best First'.
Re^2: Convert file to unix
by Anonymous Monk on Aug 19, 2009 at 09:26 UTC
    ExtUtils::Command::dos2unix doesn't print to stdout. It changes files in place.