in reply to Can't get \n or other character/translation escapes to interpolate if originally read from a data file

Alternative to pryrt's module-based solution:

my $line2; eval "\$line2=\"$line\""; # Now you can print $line2

                "Avoid strange women and temporary variables."

  • Comment on Re: Can't get \n or other character/translation escapes to interpolate if originally read from a data file
  • Download Code