dargosch has asked for the wisdom of the Perl Monks concerning the following question:
Please allow me to ask this potentially very stupid question: are there some trick that makes Perl check the number of arguments given to a sub?
Please do not take my head off for asking this question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Enforcing formal arguments at compile time?
by tachyon (Chancellor) on May 03, 2002 at 05:19 UTC | |
|
Re: Enforcing formal arguments at compile time?
by demerphq (Chancellor) on May 03, 2002 at 09:34 UTC | |
|
Re: Enforcing formal arguments at compile time?
by jsprat (Curate) on May 03, 2002 at 05:07 UTC | |
by tachyon (Chancellor) on May 03, 2002 at 05:28 UTC | |
by pdcawley (Hermit) on May 03, 2002 at 11:44 UTC | |
by tachyon (Chancellor) on May 03, 2002 at 12:07 UTC | |
by pdcawley (Hermit) on May 03, 2002 at 15:52 UTC | |
|
Re: Enforcing formal arguments at compile time?
by IlyaM (Parson) on May 03, 2002 at 09:10 UTC | |
|
Re: Enforcing formal arguments at compile time?
by Steve_p (Priest) on May 03, 2002 at 12:20 UTC |