$Bill Luebkert>
>> [2006-10-04 04:53:12] return:
> I would take the above to mean an error occurred.

Yeah, given the fact that's the only indicator of
an error, I've modified the code to use the value of
$return:

 if ( !$return ) {
   $logger->info("File was not copied");
   }

> The fact that you failed to get a true return should have
> caused you concern here - it should return the number of
> successful copies or an undef if any copies failed (not the
> best solution for a multi-copy call - stick to single copies
> for clarity).

Ah, OK, thanks for that info. So 1 or 0 does not mean
'success' or 'failure,' but rather number of copies.

For my script, I'm only copying one file, so the meaning of
$return should be clear.

Thanks, $Bill,

/dennis

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to