|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re: RFC: New style for argument check in subsby Jenda (Monsignor) |
| on Sep 05, 2012 at 11:30 UTC ( #991812=note: print w/ replies, xml ) | Need Help?? |
|
"missing" ne "undefined"! An undef may very well be the value you want to specify! There is a big difference between foo({bar => 15, baz => undef}) and foo({bar => 15}) and I would definitely not expect to get the default value of baz in the first case. Jenda
In Section
Meditations
|
|
||||||||||||||||||||||||||