Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Chomping Away (was Ovid Golf Chomps)

by mr.nick (Chaplain)
on Jan 09, 2001 at 08:19 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://50624]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-03-29 14:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found