Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: When greedy constructs do battle, can I choose the winner?

by duff (Parson)
on Sep 20, 2007 at 18:27 UTC ( #640204=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $running_total =~ s/(\d{1,5}?)0*$/$1/;
    
  2. or download this
    $running_total = $1 if $running_total =~ /(\d{1,5}?)0*$/;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2021-12-01 19:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (14 votes). Check out past polls.

    Notices?