laziness, impatience, and hubris | |
PerlMonks |
Re: Interpret a string that contains stringsby choroba (Cardinal) |
on Nov 21, 2015 at 22:41 UTC ( [id://1148323]=note: print w/replies, xml ) | Need Help?? |
Single quotes don't interpolate variables. '$format ' (see line 9) contains a dollar sign, and letters f, o, r, m, a, t, and a space.
Similarly, use "\n" instead of '\n' on line 13.
In Section
Seekers of Perl Wisdom
|
|