"Brett W. McCoy" a écrit :

> On Wed, 27 Jun 2001, Stéphane JEAN BAPTISTE wrote:
>
> > I have a variable and I want to write it into a textarea (HTML). The
> > problem is when I look at the textarea in my HTML page, there is the
> > text I want, plus a trailing newline.
> >
> > How can I delete this.
> >
> > My variable:
> > "$texte="wazaa";"
> >
> > In textarea:
> > "wazza
> > "
>
> You can chomp off that trailing newline using 'chomp'.  Weren't you the
> guy who was asking about it yesterday?

Yes! But "chomp" delete it in perl but not the conversion in HTML.

Reply via email to