in reply to Re^2: hex code passed from command line is interpreted literally in substitution
in thread hex code passed from command line is interpreted literally in substitution
Why does interpolation happen only once? Because that is how it works
See, $stuff and $other and @ARGV all get interpolated in that print call, but the values in @ARGV won't get magically interpolated once againmy $stuff = "\n newline gets interpolated at compile time"; my $other = "$stuff \n gets interpolated at run time"; @ARGV = qw( $stuff $other NOINTERPOLATION ); print "$stuff\n$other\n@ARGV\n" __END__ newline gets interpolated at compile time newline gets interpolated at compile time gets interpolated at run time $stuff $other NOINTERPOLATION
|
|---|