/[webpac]/trunk2/filter/isn_swish.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

Annotation of /trunk2/filter/isn_swish.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 337 - (hide annotations)
Thu Jun 10 19:22:40 2004 UTC (17 years, 3 months ago) by dpavlin
File size: 271 byte(s)
new trunk for webpac v2

1 dpavlin 20 #!/usr/bin/perl -w
2    
3     # example filter to convert ISBN and ISSN to hyphen and non-hyphen version
4    
5 dpavlin 26 sub isn_swish {
6 dpavlin 20 my @out;
7     foreach my $nr1 (@_) {
8     push @out,$nr1; # save original
9 dpavlin 42 $nr1 =~ s/\-//g;
10     push @out,$nr1; # save version without hyphens
11 dpavlin 20 }
12     return @out;
13     }
14    
15     1;

Properties

Name Value
cvs2svn:cvs-rev 1.3
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26