![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: expanding quoted referenced databy nobull (Friar) |
on Sep 09, 2006 at 10:01 UTC ( #572130=note: print w/replies, xml ) | Need Help?? |
It's not a good idea and neither is what you said you wanted.Granted. It sounds like you're trying to do $text = eval qq["$text"].Note: if the OP does decide to use eval() despite all the reasons not to then a heredoc is better than "" as it avoids sensativity to " characters in the data.
This, of course, is stil confused by "\n_EOD_\n" in the data is still subject to all the dangers implicit in eval().
In Section
Seekers of Perl Wisdom
|
|