Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: Wanted: humanly readable `script` output

by Anonymous Monk
on May 05, 2008 at 02:02 UTC ( #684508=note: print w/replies, xml ) Need Help??


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 ~]$

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://684508]
help
Chatterbox?
[Discipulus]: the latest version works in 5.24 and not in 5.14. previous one worked on both but crashed on both with merry rabbit
[Discipulus]: yes: replaced by its name
Discipulus why Win32 must exists?!?!
[choroba]: If you want rabbits and poo, install cygwin
[Discipulus]: no thanks! strawberry flavour is better than poo's one

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2017-09-19 11:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (219 votes). Check out past polls.

    Notices?