Johnstone, Colin <[EMAIL PROTECTED]> wrote:

    Please send replies to the list.

: Hi Charles,
: 
: Thank you, I tried this instead.
: 
: my $cmdResult;
:
: if ( unlink( $srcFile ) ){
:     $cmdResult = 'Successful!';
:     $comment   = "DELETION: $cmdResult";
:     $debug->printlog( "DELETION $pid: Regen " .
:                       &basename($srcFile) . "\n$comment");
:
: } else {
:     $cmdResult = "Failed!" ;
:     $errorComment = "ERROR: " . &basename($srcFile) .
:                       " deletion $cmdResult\n";
:     $debug->printlog("$errorComment");
:     &abort(1, "$errorComment");
: }
: 
: It doesn't move to the next file in the array nor does
: it print the debug info to the log. 

    There is loop or array in the code above. Nor do we
know how you opened the log. Show more code. All of it
if its not too long.


HTH,

Charles K. Clarkson
-- 
Mobile Homes Specialist
254 968-8328


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to