Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: DNS Lookup

by JavaFan (Canon)
on Jan 19, 2012 at 22:24 UTC ( #948858=note: print w/ replies, xml ) Need Help??


in reply to Re: DNS Lookup
in thread DNS Lookup

you are probably bypassing it anyway by invoking your script with the perl executable on the command line.
Perl actually honors command line switches on the she bang line, even when invoked directly:
$ cat xxx #!/usr/bin/perl -w print undef; $ perl xxx Use of uninitialized value in print at xxx line 3.


Comment on Re^2: DNS Lookup
Download Code
Re^3: DNS Lookup
by Anonymous Monk on Jan 20, 2012 at 03:44 UTC

    Yes, for the most part :)

    $ perl #!/usr/bin/perl -Mstrict -- Too late for "-Mstrict" option at - line 1.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-12-25 02:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls