I've tried:
  while(<$FORM{message}>)  {
    $message=$message.$_."<BR>";
  }

and:
  $message = $FORM{message}
  $message =~ s/\n/<BR>/ge;  #Also used \012, \015, \r, \f , $ and a few
others in place of \n

Barrie
----- Original Message -----
From: "Mel Matsuoka" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 02, 2001 3:10 PM
Subject: Re: Variable Grief


> At 11:03 AM 08/03/2001 +1000, Barrie Heck wrote:
> >Hi All
> >
> >Have brought in text from HTML textarea through POST method into perl as
> variable $FORM{message}.  Want to add <BR> to the end of each line in the
> variable but cannot work out how to do it.  Any clues?
> >
>
> What have you tried so far?



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to