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

Annotation of /trunk/t/conf/normalize/sub.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1061 - (hide annotations)
Tue Nov 20 22:07:45 2007 UTC (16 years, 6 months ago) by dpavlin
File MIME type: text/plain
File size: 119 byte(s)
 r1659@llin:  dpavlin | 2007-11-20 23:07:47 +0100
 re-insert spaces in AST after sub to create valid normalize
 source if we are using sub name {} in normalize files [2.33]

1 dpavlin 1061 sub foo {
2     push @test, 'foo';
3     }
4    
5     sub bar($) {
6     push @test, "bar >>" . shift(@_) . "<<";
7     }
8    
9     foo();
10     bar(foo());
11     bar(42);

  ViewVC Help
Powered by ViewVC 1.1.26