in reply to Problem with Net::FTP login

The 2nd code you posted doesn't compile  Bad name after pass' your quoting is broken

Replies are listed 'Best First'.
Re^2: Problem with Net::FTP login
by prashantktyagi (Scribe) on Mar 29, 2013 at 13:41 UTC
    use strict;
    use warnings;
    Always use stricter to figure out the issue easily.