Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Removing Trailing Whitespace: Multiple ways.

by perlmonkey (Hermit)
on May 12, 2001 at 02:53 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-19 06:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found