S
Scott Bass
Hi,
use Getopt::Long;
GetOptions (
"sep:s" => \$sep
);
$sep = "$sep"; # doesn't work
print "line1",$sep,"line2";
If I invoke this as --sep \n or --sep \t, how can I force the interpolation
of the escapse sequence?
Thanks,
Scott
use Getopt::Long;
GetOptions (
"sep:s" => \$sep
);
$sep = "$sep"; # doesn't work
print "line1",$sep,"line2";
If I invoke this as --sep \n or --sep \t, how can I force the interpolation
of the escapse sequence?
Thanks,
Scott