013 is line feed, aka "new line".

-Tom Kinzer

-----Original Message-----
From: R. Joseph Newton [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 07, 2003 7:24 PM
To: Bryan Harris
Cc: Beginners Perl
Subject: Re: stripping last field of a carriage return


Bryan Harris wrote:

> > I have tried to strip the carriage return of the last field
> >
> > $field[8] =~ s/\015//g;
>
> Uh, isn't the carriage return code 13?
>
> - B

Not in octal.

Joseph


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



-- 
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