Coder Profile - Show off your skills, get a coder profile.
 
 
 
The Author
otoom
Ant
Send A Message
Rating
7.00
out of 10
( 1 Ratings )
Please login to rate source codes.

Click here to register a free account with us.
General Details
Perl
Posted 3.42 Years Ago
921 Views
Received 1 Rating
More Codes By This Author
Guessing Game
Even or Odd
Even or Odd
Head First PHP And mySQL...
CreateSquare
Articles By This Author
Quick Threading Tutorial...
First look at C
Cheat Sheet Pack
[PHP] How to make a log f...
HTML Cheat Sheet!

HTTP Proxy Checker


Description
First version, next will read from a file.
Technical
Need ativestate for perl installed.
Source Code
Comments
Please login to post comments.
 
otoom     Posted 2.68 Years Ago
 
 
Yeah i could tell you had been learning perl haha. Nice one mate.
 
VBAssassin     Posted 2.71 Years Ago
 
 
You said the next version will read from a file. If you design that script slightly
better you can both accept input from the command line AND read from files by using
STDIN ;-)

Instead of: $ua->get("http://google.com");

Where you have hard coded the URL... use arrays and use: chomp(@urls =
<STDIN>);

Then loop through as you would normally for arrays...

This will allow the user to type in as many URLs as they like, with one URL per
line in the console... and then press Ctrl+D (on linux to signify EOL)... thats if
you want them to type them... if they have a file with URL's in just use this
when executing the script:

script.pl < urls.txt

also... it will allow them to pipe data between scripts ;-) giving it maximum
flexibility.

Kind regards,
Scott

P.S. If you haven't noticed, i've been learning Perl and quite
comfortable with Linux now ;-)
 
otoom     Posted 3.40 Years Ago
 
 
No, Well it would take time obviously but if you make it print out each one as
it's doing it. Then it wouldn't be too bad leaving it.
 
Anto     Posted 3.40 Years Ago
 
 
I guess that can be useful in some cases, anyway to get it check for a large database
with proxies, and would that be very slow?
Page 1 of 1
More "Perl" Source Codes By This Author
Recently Posted "Perl" Source Codes
Recently Rated "Perl" Source Codes
 
 
Latest News About Coder Profile
Coder Profile Poll
Why do you get bored with programming?

Not enough time to do something productive
I run out of ideas
Too hard to show people my creations
Everything i do has too many errors, and it's too hard
I don't get bored!!!


please login to cast your vote
and see the results of this poll
Latest Coder Profile Changes
Coder Profile was last updated
3.20 Years Ago
Official Blog :: Make A Donation :: Credits :: Contact Me
Terms & Conditions :: Privacy Policy :: Documents :: Wallpapers
Version 1.46.00
Copyright © 2007 - 2012, Scott Thompson, All Rights Reserved