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

Re: or warn question

by clueless newbie (Hermit)
on Jun 08, 2012 at 18:28 UTC ( #975217=note: print w/ replies, xml ) Need Help??


in reply to or warn question

Something like

$ftp->delete($file) and do { warn "$file successfully deleted\n" } or +do {warn print LOG "Cannot delete $file - ", $ftp-message };
perhaps? Please change "warn print LOG" to "warn"!


Comment on Re: or warn question
Download Code
Replies are listed 'Best First'.
Re^2: or warn question
by TCM (Acolyte) on Jun 08, 2012 at 19:01 UTC
    This did work, thank you for your time!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2015-07-31 11:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls