Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 chilling in the Monastery: (7)
As of 2017-10-23 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (279 votes). Check out past polls.

    Notices?