Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2015-07-07 21:10 GMT
Find Nodes?
    Voting Booth?

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

    Results (93 votes), past polls