Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Extracting IP addresses from a file...

by damian1301 (Curate)
on Jul 04, 2001 at 23:38 UTC ( #93922=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach($data=~ /(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/g){
        push @ips, $1;
    }
    
  2. or download this
    $_.=($=+(6<<1));print(chr(my$a=$_));$^H=$_+$_;$_=$^H;
    print chr($_-39); # Easy but its ok.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2022-12-06 06:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?