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

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2016-06-30 23:53 GMT
Find Nodes?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...

    Results (405 votes). Check out past polls.