Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by Abigail (Deacon)
on Jul 11, 2001 at 11:00 UTC ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-03-28 16:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found