Output:#!/usr/bin/perl use strict; use warnings; my $line = 'TEXT=Hello\nWorld!\n'; # No interpolation $line =~ s/^TEXT=//g; print "$line\n"; my $interpolated = eval "qq{$line}"; print $interpolated;
Hello\nWorld!\n Hello World!
Arjen
In reply to Re: print real newlines in place of literal ones
by Aragorn
in thread print real newlines in place of literal ones
by blueAdept
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |