just "bad" pseudo code:

sub one {
  $process->name(\$html) || $errors_from_one( $process->error() );

  $process->name(\$text) || $errors_from_one( $process->error() );
}

sub errors_from_one {
    my $error = @_;

    push (my @errors, $error);

    # do stuff to make sure the errors are uniq

    return my @uniq_error_list;
}


I want to be able to get at those errors later. Will something like that work?

Robert



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


Reply via email to