in reply to Verbatim or Quoted Text Needed
If you don't like here-docs, you could use one of the quote-like operators (see perlop):my $hashref = { 'example' => <<TEXT }; "I'm right." "No, I'm right." "You're missing the point." "No, you're missing the point." TEXT
my $hashref = { 'example' => qq( "I'm right." "No, I'm right." "You're missing the point." "No, you're missing the point.") };
|
|---|