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

Re: Re: Scan C-Class for used IP-addresses

by Chmrr (Vicar)
on Dec 07, 2001 at 17:54 UTC ( #130188=note: print w/ replies, xml ) Need Help??


in reply to Re: Scan C-Class for used IP-addresses
in thread Scan C-Class for used IP-addresses

In short, you can't, really. The way I use the "Download code" link is to click on it, bringint up a window with the code in plain text, all alone, then saying File->Save as.. to save it as some file with a vaguely correct name. The reason that your browser is saving it as index.pl is because that's the name of the bit on perlmonks which is serving you the code.

If your concern is because you mention "scansub.pl" in the code -- well, that's what $0 is for, no? ;>

perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'


Comment on Re: Re: Scan C-Class for used IP-addresses
Download Code
Re: Re: Re: Scan C-Class for used IP-addresses
by cab (Beadle) on Dec 07, 2001 at 18:21 UTC
    Thanks, i seem to learn something new about perl every day :)

    /cab

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2014-09-02 10:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (21 votes), past polls