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

Comparing COMP/SCRAM/src/ActiveDoc/Switcher.pm (file contents):
Revision 1.2 by williamc, Mon Sep 20 16:27:57 1999 UTC vs.
Revision 1.3 by williamc, Wed Sep 29 11:52:28 1999 UTC

# Line 16 | Line 16
16   #                             is undefined in tag $name
17   # line()                    : return the current line number of the parse
18  
19 < package Switcher;
19 > package ActiveDoc::Switcher;
20   require 5.001;
21   use Carp;
22  
# Line 44 | Line 44 | sub _initialise (hash1) {
44  
45          # Add a default TagContainer
46            use ActiveDoc::TagContainer;
47 <          $self->{tagcontainer}=TagContainer->new();
47 >          $self->{tagcontainer}=ActiveDoc::TagContainer->new();
48          
49   }
50  
# Line 75 | Line 75 | sub parse {
75             or return 1;
76   #               or carp "Switcher: Cannot open $self->{filename} $! \n";
77  
78 +        print "Starting Parse $self->{filename}\n";
79          # Start file processing
80          while ( <$filehandle> ) {
81           $self->{linecount}++;
# Line 85 | Line 86 | sub parse {
86           } # end char while
87          } # End String while loop
88          close $filehandle;
89 +        print "Exiting Parse $self->{filename}\n";
90   }
91  
92   sub checkparam($name, $key) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines