/[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

Contents of /trunk2/filter/isn_swish.pm

Parent Directory Parent Directory | Revision Log Revision Log


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

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