in reply to Re: passing array of args to prototyped subs
in thread passing array of args to prototyped subs
Fine. I was under the impression that Perl prototypes were still minimally useful. I expected the compiler to check that f2 has 2 scalar args WHEN FEASIBLE (e.g. when the call is f2 ($a, $b, $c)) and ignore the prototype when compile-time checking is unfeasible. I guess it's too much.
Your link to a reply in another thread only proves that you can defeat compile-time prototype checking via using &f. however indirectly (which I knew)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: passing array of args to prototyped subs
by tobyink (Canon) on Sep 10, 2013 at 09:09 UTC |