Calling a sub that doesn't take arguments with arguments is something gone wrong. Currently validation_for doesn't have a means for saying this sub doesn't take any arguments --- making it necessary to "die q{This sub doesn't take arguments.} if (@_);". If one is using validation_for elsewhere it would be nice to use it in this case too.
Calling a sub that doesn't take arguments with arguments is something gone wrong. Currently validation_for doesn't have a means for saying this sub doesn't take any arguments --- making it necessary to "die q{This sub doesn't take arguments.} if (@_);". If one is using validation_for elsewhere it would be nice to use it in this case too.