|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: Displaying an array in a cgi generated textareaby fruiture (Curate) |
| on Feb 27, 2003 at 18:18 UTC ( #239187=note: print w/ replies, xml ) | Need Help?? |
|
An array in double quotes (which equals qq//) is interpolated and the result is ...
So you see, perl uses $" as the seperator of the array elements, $" is by default just a single space character, you can simply change that. Use local() to avoid problems with other code, because CGI.pm afaik uses $", too.
HTH, see perlvar --http://fruiture.de
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||