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

Comparing COMP/SCRAM/src/Utilities/Switcher.pm (file contents):
Revision 1.1 by williamc, Mon Mar 1 10:35:01 1999 UTC vs.
Revision 1.3 by williamc, Fri Mar 19 14:08:25 1999 UTC

# Line 1 | Line 1
1 #!/usr/local/bin/perl5
2 #
1   # Switcher Module
2   #
3   # Look for elements given in input has in a string
# Line 8 | Line 6
6   # processed.
7  
8   package Switcher;
9 + require 5.001;
10   require Exporter;
11   use Carp;
12   @ISA    = qw(Exporter);
# Line 237 | Line 236 | sub checkparam($hash, $name, $key) {
236          my $key=shift;
237  
238          if ( ! defined $$hashref{$key} ) {
239 <           print "BootParser: Badly formed $name tag -".
239 >           print "Switcher: Badly formed $name tag -".
240                          " undefined $key parameter\n";
241             exit 1;
242          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines