Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Removing Trailing Whitespace: Multiple ways.

by perlmonkey (Hermit)
on May 12, 2001 at 02:53 UTC ( #79862=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    use Benchmark;
    ...
        str[i--] = '\0';
      }
    }
    
  2. or download this
    Benchmark: timing 1000000 iterations of inline, regex...
        inline:  4 wallclock secs ( 4.39 usr +  0.03 sys =  4.42 CPU)
         regex:  8 wallclock secs ( 6.84 usr +  0.03 sys =  6.87 CPU)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2022-12-01 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?