in reply to Line break interpretation
String eval does the trick.
my $m = 'Hello\nWorld'; print eval "qq($m)";
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Line break interpretation
by fpondemer (Initiate) on Oct 19, 2006 at 17:54 UTC | |
by ikegami (Patriarch) on Oct 19, 2006 at 19:32 UTC | |
|
Re^2: Line break interpretation
by blazar (Canon) on Oct 21, 2006 at 15:33 UTC |