Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: gethostbyname: What does $aliases look like?

by ikegami (Patriarch)
on Sep 14, 2009 at 06:58 UTC ( #795069=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -MData::Dumper -e'print Dumper $_ for (gethostbyname $ARGV[0])[
    +0,1]' www.google.com
    $VAR1 = 'www.l.google.com';
    $VAR1 = 'www.google.com';
    
  2. or download this
    PUSHs(space_join_names_mortal(hent->h_aliases));
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2022-01-25 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (66 votes). Check out past polls.

    Notices?