Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Net::FTP put failing silently?

by ikegami (Pope)
on Aug 06, 2008 at 21:04 UTC ( #702742=note: print w/replies, xml ) Need Help??


in reply to Re: Net::FTP put failing silently?
in thread Net::FTP put failing silently?

my $remote_file = $ftp->put($name) || die $ftp->message;
means
my $remote_file = ( $ftp->put($name) || die $ftp->message );

my $remote_file = $ftp->put($name) or die $ftp->message;
means
( my $remote_file = $ftp->put($name) ) or die $ftp->message;

Both are fine here.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://702742]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2020-02-21 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (94 votes). Check out past polls.

    Notices?