]> git.vpit.fr Git - perl/modules/Sub-Prototype-Util.git/commit
Make flatten() die if not enough arugments were provided to match the given prototype
authorVincent Pit <vince@profvince.com>
Thu, 4 Jun 2009 22:15:33 +0000 (00:15 +0200)
committerVincent Pit <vince@profvince.com>
Thu, 4 Jun 2009 22:15:33 +0000 (00:15 +0200)
commitf5bb214c4c842e14fb5e95a77a6888ab1ae81005
treea7520d58ecfe594e50187b2a8ae5d24012c098bc
parent16e8680c6cb85a7196c4a39bb1a5051cbde4e6a0
Make flatten() die if not enough arugments were provided to match the given prototype

Also consider the '_' prototype like '$', as there's no way to know if the argument was originally provided or not.
lib/Sub/Prototype/Util.pm
t/10-flatten.t