Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: can anyone help to detect any error in this script

by Abigail (Deacon)
on Jul 11, 2001 at 11:00 UTC ( #95612=note: print w/ replies, xml ) Need Help??


in reply to can anyone help to detect any error in this script

Your data file has quotes around the variables. You never strip the quotes, or do something with the double backslash for that matter. "sgsms.asia.com" is not a valid hostname, because quotes are not allowed in a hostname. Nor is "4200" an integer. Or "C:\\tempperl" a directory.

The error log says you didn't supply a host name because of your bogus die message. Fix your die message and you'll get better error messages.

-- Abigail


Comment on Re: can anyone help to detect any error in this script
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-12-25 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (160 votes), past polls