Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Removing Trailing Whitespace: Multiple ways.

by DeaconBlues (Monk)
on May 11, 2001 at 22:35 UTC ( #79807=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    use Benchmark;
    ...
                            $foo = reverse $foo;}
    } );
    
  2. or download this
    Benchmark: timing 1000000 iterations of regex, unpack, xeger...
         regex:  6 wallclock secs ( 5.71 usr +  0.00 sys =  5.71 CPU) @ 17
    +5131.35/s (n=1000000)
        unpack:  7 wallclock secs ( 5.91 usr +  0.00 sys =  5.91 CPU) @ 16
    +9204.74/s (n=1000000)
         xeger:  9 wallclock secs ( 9.26 usr +  0.00 sys =  9.26 CPU) @ 10
    +7991.36/s (n=1000000)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://79807]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (1)
As of 2022-11-27 14:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?