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

Re^3: Unable to split $ARGV[0] variable. Can it be done?

by McDarren (Abbot)
on Dec 10, 2012 at 16:36 UTC ( #1008136=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    apple.com
    fred.com
    dschjksdbckjqh.com
    
  2. or download this
    Trying http://google.com ...OK
    Trying http://apple.com ...OK
    ...
    Trying https://www.dschjksdbckjqh.com ...FAILED because 500 Can't conn
    +ect to www.dschjksdbckjqh.com:443 (getaddrinfo: nodename nor servname
    + provided, or not known)
    Trying https://web.dschjksdbckjqh.com ...FAILED because 500 Can't conn
    +ect to web.dschjksdbckjqh.com:443 (getaddrinfo: nodename nor servname
    + provided, or not known)
    Couldn't get anything from dschjksdbckjqh.com
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008136]
help
Chatterbox?
[james28909]: it would be to much work just to get around renaming three subs lol
[james28909]: but you could put it all in one sub and return the same data type that was inputted. i could write a small example maybe
[Lady_Aleena]: Their uses are also vastly different.
[Lady_Aleena]: The first two make hashes and arrays from a file, the third returns data from a pre-existing hash.
[Lady_Aleena]: Well, HoH and AoH respectively.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2017-05-24 05:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?