Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: split split

by Marshall (Canon)
on Jun 23, 2009 at 17:36 UTC ( [id://774120]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    Prints:
      part1:  client 127.0.0.1
      ipaddr: 127.0.0.1
    
  2. or download this
    (undef, my $ipaddr) =  split(/\s+/, $part1);
    
  3. or download this
    my $line = 'client 127.0.0.1#47560: query: host.example.com IN AAAA';
    
    ...
    __END__
    prints:
    127.0.0.1
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://774120]
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-04-24 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found