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"!

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!