Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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?
[RonW]: Is there an English language version of the site?
[LanX]: but Afaik Perl is on average about 10-20 times slower than C
[LanX]: no
[LanX]: but I could ask Herbert to elaborate
[1nickt]: http://rperl.org/ performance_benchm arks.html
[RonW]: 1nickt: Thanks. Looking at that

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2017-05-22 20:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?