in reply to Re: perl5 "prototyping": why?
in thread perl5 "prototyping": why?
...erm, I'm just making up that example (obviously), and I never bother with prototypes so this may well be all wrong, but wouldn't @baz suck in the remainder of @_ after $bar if you remove the prototype? Or something like that?sub foo (\$\@\%) { my ( $bar, @baz, %something ) = @_; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: perl5 "prototyping": why?
by CountZero (Bishop) on Jul 07, 2005 at 21:19 UTC |