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