stevenrh has asked for the wisdom of the Perl Monks concerning the following question:
Hello All, I am using an array of IP addresses to plug into a link, but when i do so, the link is segmented into 2.
I would like the link to be contiguous, ands in the future i would like to set up a socket that connects and and does an http get with the link.
(i want to autmoate my abuse duties, ie: blacklist removal, without so many clicks and Alt-Tabs)
Any help would be appreciated.
below is the code and the output......thx
this is the output from that:#!/usr/bin/perl -w $file = '/home/steven/x.x-sort'; open(INFO, $file); @lines = <INFO>; close(INFO); my $i; foreach $i(@lines){ print "\nhttp://website.org/session2?ip=$i&email=you%40there.c +om\n"; }
http://website.org/session2?ip=x.x.x.x
&email=you%40there.com
http://website.org/session2?ip=x.x.y.y
&email=you%40there.com
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: formatting print output from array
by Anonymous Monk on Sep 29, 2004 at 17:07 UTC | |
by stevenrh (Beadle) on Sep 29, 2004 at 17:55 UTC | |
Re: formatting print output from array
by Eimi Metamorphoumai (Deacon) on Sep 29, 2004 at 18:04 UTC | |
by radiantmatrix (Parson) on Sep 29, 2004 at 18:10 UTC | |
by revdiablo (Prior) on Sep 29, 2004 at 23:56 UTC |
Back to
Seekers of Perl Wisdom