ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/BuildSystem/ToolDoc.pm
(Generate patch)

Comparing COMP/SCRAM/src/BuildSystem/ToolDoc.pm (file contents):
Revision 1.1.2.11 by williamc, Tue Jun 20 12:52:18 2000 UTC vs.
Revision 1.1.2.12 by williamc, Tue Jun 20 15:27:40 2000 UTC

# Line 75 | Line 75 | sub tool {
75   sub toolsearcher {
76          my $self=shift;
77          if ( @_ ) {
78 <          $self->{toolboxsearcher}=shift;
78 >          my $searcher=shift;
79 >          if ( ! defined $searcher ) {
80 >             $self->error("Undefined Value passed as a Searcher".
81 >                " in ToolDoc::toolsearcher");
82 >          }
83 >          $self->{toolboxsearcher}=$searcher;
84          }
85          return $self->{toolboxsearcher};
86   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines