Re: Use of dollar signs before subroutine definition

2008-10-24 Thread John W. Krahn
Kelly Jones wrote: I saw something like this in a mimedefang tutorial: sub foo () {return 1;} By trial and error, I discovered this means: foo takes EXACTLY four arguments, no less, no more. Where can I learn more about this syntax/feature? http://groups.google.com/group/comp.lang.perl.m

Use of dollar signs before subroutine definition

2008-10-24 Thread Kelly Jones
I saw something like this in a mimedefang tutorial: sub foo () {return 1;} By trial and error, I discovered this means: foo takes EXACTLY four arguments, no less, no more. Where can I learn more about this syntax/feature? -- We're just a Bunch Of Regular Guys, a collective group that's try