/[Grep]/lib/Grep/Source.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 /lib/Grep/Source.pm

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

revision 123 by dpavlin, Sat Apr 28 17:55:37 2007 UTC revision 125 by dpavlin, Sat Apr 28 22:52:08 2007 UTC
# Line 205  sub element_by_triplet { Line 205  sub element_by_triplet {
205          my $fatal = $args->{fatal};          my $fatal = $args->{fatal};
206          die "no templates" unless defined( $args->{templates} );          die "no templates" unless defined( $args->{templates} );
207          my @templates;          my @templates;
208          if ( ref( $args->{template} ) eq 'ARRAY' ) {  warn dump( $args->{templates} );
209            if ( ref( $args->{templates} ) eq 'ARRAY' ) {
210                  @templates = @{ $args->{templates} };                  @templates = @{ $args->{templates} };
211          } else {          } else {
212                  @templates = ( $args->{templates} );                  @templates = ( $args->{templates} );

Legend:
Removed from v.123  
changed lines
  Added in v.125

  ViewVC Help
Powered by ViewVC 1.1.26