http://qs321.pair.com?node_id=1224180


in reply to Re^2: email address as username
in thread email address as username

You are getting the error on your first use of the $ftp object.

That means the construction of it in the line above failed, where you specified $ftp = Net::FTP->new($host, Debug => 0);

I can't see from here why it failed, you will have to debug if you can reach $host using some other method to ftp for instance.

Cheers, Sören

Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)