in reply to Re: Line break interpretation
in thread Line break interpretation
String eval does the trick.
In addition to the other solutions that avoid string eval and its inherent risks, there's YAML::Syck::Load although that's probably an overkill:
print Load '--- "Hello\nWorld\n"';
|
|---|