Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
good chemistry is complicated,
and a little bit messy -LW
 
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 examining the Monastery: (7)
As of 2014-04-17 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (441 votes), past polls