/[webpac2]/trunk/lib/WebPAC/Parser.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/WebPAC/Parser.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 712 by dpavlin, Tue Sep 26 10:23:04 2006 UTC revision 717 by dpavlin, Tue Sep 26 18:14:14 2006 UTC
# Line 17  WebPAC::Parser - parse perl normalizatio Line 17  WebPAC::Parser - parse perl normalizatio
17    
18  =head1 VERSION  =head1 VERSION
19    
20  Version 0.05  Version 0.06
21    
22  =cut  =cut
23    
24  our $VERSION = '0.05';  our $VERSION = '0.06';
25    
26  =head1 SYNOPSIS  =head1 SYNOPSIS
27    
# Line 148  sub lookup_create_rules { Line 148  sub lookup_create_rules {
148          return $self->{_lookup_create}->{ _q($database) }->{ _q($input) };          return $self->{_lookup_create}->{ _q($database) }->{ _q($input) };
149  }  }
150    
151    =head2 normalize_rules
152    
153      my $source = $parser->normalize_rules($database, $input);
154    
155    =cut
156    
157    sub normalize_rules {
158            my $self = shift;
159            my ($database,$input) = @_;
160            $input = _input_name($input);
161            return unless (
162                    defined( $self->{_normalize_source}->{ _q($database) } ) &&
163                    defined( $self->{_normalize_source}->{ _q($database) }->{ _q($input) } )
164            );
165            return $self->{_normalize_source}->{ _q($database) }->{ _q($input) };
166    }
167    
168  =head1 PRIVATE  =head1 PRIVATE
169    
170  =head2 _read_sources  =head2 _read_sources

Legend:
Removed from v.712  
changed lines
  Added in v.717

  ViewVC Help
Powered by ViewVC 1.1.26