/[webpac2]/trunk/lib/WebPAC/Validate.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/Validate.pm

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

revision 831 by dpavlin, Wed May 23 20:03:12 2007 UTC revision 832 by dpavlin, Wed May 23 20:03:16 2007 UTC
# Line 405  sub report { Line 405  sub report {
405    
406  }  }
407    
408    =head2 delimiters_templates
409    
410    
411    =cut
412    
413    sub delimiters_templates {
414            my $self = shift;
415    
416            my $t = $self->{_delimiters_templates};
417    
418            my $log = $self->_get_logger;
419    
420            unless ($t) {
421                    $log->warn("called without delimiters");
422                    return;
423            }
424    
425            my $out;
426    
427            foreach my $f (sort { $a <=> $b } keys %$t) {
428                    $out .= "$f\n";
429                    foreach my $sft (sort { $a cmp $b } keys %{ $t->{$f} }) {
430                            $out .= "\t" . $t->{$f}->{$sft} . "\t$sft\n";
431                    }
432            }
433    
434            return $out;
435    }
436    
437  =head1 AUTHOR  =head1 AUTHOR
438    
439  Dobrica Pavlinusic, C<< <dpavlin@rot13.org> >>  Dobrica Pavlinusic, C<< <dpavlin@rot13.org> >>

Legend:
Removed from v.831  
changed lines
  Added in v.832

  ViewVC Help
Powered by ViewVC 1.1.26