Engines Can Have Subengines

What's that $self->_profile_subengine(\%data, $_) doing there?

    defined $data{$_}
      ? $self->_profile_subengine(\%data, $_)
      : print "$_ not found.\n\n";

... and in another spot ...

      open OUT, ">$output" or die;
      $self->_profile_subengine(\%data, $_);
      close OUT or die;

Is it the same subroutine holding repeated code?

Previous Back to start of show Next
Slide: 24 prof_subeng © 2003 James E. Keenan