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

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. "" 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://95612]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2018-06-24 11:12 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.