syphilis has asked for the wisdom of the Perl Monks concerning the following question:
then we know that the second and third arguments are optional, and that some default behaviour will be initiated if they are omitted.$ret = foo($sclar, [$arrayref], [$hashref]);
that would presumably dictate that if you wish to provide the third argument, then you must also specify a second argument ... right ? Or is this type of notation too loose for drawing any conclusions at all ?$ret = foo($scalar, [$arrayref, [$hashref]]);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Docs notation
by Corion (Patriarch) on Jul 27, 2007 at 13:50 UTC | |
Re: Docs notation
by jhourcle (Prior) on Jul 27, 2007 at 14:20 UTC | |
by syphilis (Archbishop) on Jul 28, 2007 at 07:48 UTC | |
Re: Docs notation
by radiantmatrix (Parson) on Jul 27, 2007 at 14:44 UTC | |
Re: Docs notation
by cdarke (Prior) on Jul 27, 2007 at 14:24 UTC | |
Re: Docs notation
by doom (Deacon) on Jul 29, 2007 at 20:01 UTC | |
Re: Docs notation
by Anonymous Monk on Jul 28, 2007 at 05:18 UTC |