Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Re: Removing Trailing Whitespace: Multiple ways.

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

Help for this page

Select Code to Download


  1. or download this
    void rmsp(SV * sv) {
      char * end;
      int length;
    ...
      }
      if( length >= 0 ) SvCUR_set(sv, length);
    }
    
  2. or download this
    Benchmark: timing 1000000 iterations of inline, regex...
        inline:  6 wallclock secs ( 4.19 usr +  0.01 sys =  4.20 CPU)
         regex:  9 wallclock secs ( 7.71 usr +  0.02 sys =  7.73 CPU)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2022-11-27 17:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?