in reply to Re: Re: uuencoding to deal with line breaks
in thread uuencoding to deal with line breaks

$encoded_body = pack "u", $body="\n"x46 will contain "\n", If you were worried about "\n" in $body, what about "\n" in $encoded_body?

Replies are listed 'Best First'.
Re: Re: Re: Re: uuencoding to deal with line breaks
by epoptai (Curate) on Dec 16, 2000 at 09:36 UTC
    Rarely there's an \N in $encoded_body (it's all uppercase) but it doesn't cause a problem, and $encoded_body=~s/\n//g; doesn't touch it.