Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^4: Split() first 3 elements of @array

by Kenosis (Priest)
on Aug 28, 2012 at 20:48 UTC ( #990333=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Modern::Perl;
    
    ...
    say 'IP address: 10.10.10.10' =~ /IP\s+address:\s+([^\s]+)/;
    say '  IP address: 10.10.10.10' =~ /^\s*IP\s+address:\s+([^\s]+)/;
    say 'IP address: 10.10.10.10' =~ /^\s*IP\s+address:\s+([^\s]+)/;
    
  2. or download this
    10.10.10.10
    10.10.10.10
    10.10.10.10
    10.10.10.10
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://990333]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2014-09-03 00:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (34 votes), past polls