in reply to Incredibly stupid substitution question :(
Well, if this is driving you crazy, you're not alone. I tried your code on my system (ActiveState Perl 5.12) and used Data::Dumper. When I print the variable (print "$text\n";), it appears just as you want it. When I do print Dumper($text);, it has an extra \ in it just like you're seeing.
As for why Data::Dumper is not matching the print statement, I'm stumped.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Incredibly stupid substitution question :(
by CountZero (Bishop) on Aug 11, 2010 at 13:49 UTC | |
by dasgar (Priest) on Aug 11, 2010 at 15:39 UTC |