Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Odd workings of split

by moritz (Cardinal)
on Mar 29, 2012 at 12:49 UTC ( #962376=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $cmd[0] = ($cmd[0] =~ /.*/g)[0]
    
  2. or download this
    $cmd[0] =~ s/\n.*/s;
    
  3. or download this
    $cmd[0].=comb(/\N*/);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://962376]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2017-02-23 19:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (350 votes). Check out past polls.