Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Chomping Away (was Ovid Golf Chomps)

by mr.nick (Chaplain)
on Jan 09, 2001 at 08:19 UTC ( #50624=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub mchomp { 
      my @a=@_; 
    ...
      } 
      wantarray ? @a: $a[0]; 
    } 
    
  2. or download this
      ## returns the modified string
      print mchomp $string;
    ...
      %new=mchomp %hash;print values %new;
      ## modifes the hash inplace
      mchomp \%hash;print values %hash;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2014-10-01 01:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (386 votes), past polls