Gossamer Forum
Home : General : Internet Technologies :

Re: [Andy] postfix and CRLF

Quote Reply
Re: [Andy] postfix and CRLF In reply to
Code:
$var =~ s/\n\r$//;


You have that back to front :)

Code:
$var =~ s/\r?\n//sg;


Note you will need the sg if you want to parse a string globally.
Subject Author Views Date
Thread postfix and CRLF vacationrentals 4472 Aug 11, 2004, 9:06 AM
Thread Re: [vacationrentals] postfix and CRLF
Andy 4317 Aug 11, 2004, 9:37 AM
Thread Re: [Andy] postfix and CRLF
B::Parse 4298 Aug 15, 2004, 2:04 PM
Post Re: [B::Parse] postfix and CRLF
Andy 4294 Aug 16, 2004, 12:46 AM