On Tue, Dec 19, 2006 at 03:48:49PM +0530, pradeep reddy wrote:
> Yes Ruud, I edited it in windows environment, as a text pad format, then I 
> saved it.
> 
> How can i correct this issue.
> 
> -reddy.


At the prompt, type

#   perl -p -e 's/\r$//' < winfile.txt > unixfile.txt 

so if your script is called foo.pl, it is

#   perl -p -e 's/\r$//' < foo.pl > newfoo.pl




Owen


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to