in reply to Help me recover my Perl script

When I try to view my roasted file through 'less' command I get following output:

# less Test.pl

"Test.pl" may be a binary file. See it anyway?

Is there a way I can convert this binary file to its initial readable state.

@Jorge_de_Burgos - Thanks for your courtesy. BTW how can I share my script with you. Can you please PM your email ID to me.

Replies are listed 'Best First'.
Re^2: Help me recover my Perl script
by shmem (Chancellor) on Dec 28, 2009 at 08:21 UTC

    Try running the following with your scriptfile

    perl -pi.bak -e 's/\0//g' scriptfile

    You will have a backup copy after that, appropriately named scriptfile.bak.