in reply to Re^3: Wanted: humanly readable `script` output
in thread Wanted: humanly readable `script` output
This problem with the way /g works is fixed with the 1 while hack
[james@adajio ~]$ cat test.pl #!/usr/bin/perl my $text = "No \x08\x08\x08 good"; 1 while $text =~ s/.\x08//; print "$text\n"; [james@adajio ~]$ ./test.pl good [james@adajio ~]$
|
|---|