/[webpac2]/trunk/t/conf/normalize/foo.pl
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/t/conf/normalize/foo.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 686 - (show annotations)
Sun Sep 24 17:25:04 2006 UTC (17 years, 7 months ago) by dpavlin
File MIME type: text/plain
File size: 312 byte(s)
 r966@llin:  dpavlin | 2006-09-24 19:22:45 +0200
 first cut at WebPAC::Parser which will allow lookups to be specified in
 normalization file

1 marc('777','v',
2 lookup(
3 sub { '1st:' . rec('000') },
4 'foo','peri',
5 sub { rec('11') }
6 ) ||
7 lookup(
8 sub { '2nd:' . rec('000') },
9 'bar','peri',
10 sub { rec(200,'a') . rec('200','e') },
11 ) ||
12 lookup(
13 sub { "3rd:" . rec('000') },
14 'baz','peri',
15 sub { rec(200,'a') },
16 sub { rec(900,'x') },
17 )
18 );
19

  ViewVC Help
Powered by ViewVC 1.1.26