/[webpac]/trunk/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

Contents of /trunk/filter/isn_swish.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 42 - (show annotations)
Sat Mar 15 21:48:48 2003 UTC (16 years, 9 months ago) by dpavlin
File size: 271 byte(s)
filter fix && optimisation

1 #!/usr/bin/perl -w
2
3 # example filter to convert ISBN and ISSN to hyphen and non-hyphen version
4
5 sub isn_swish {
6 my @out;
7 foreach my $nr1 (@_) {
8 push @out,$nr1; # save original
9 $nr1 =~ s/\-//g;
10 push @out,$nr1; # save version without hyphens
11 }
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