I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2006-11-30 14:14:02-08 by gaetan in response to 3210
Re: Argument passing and parsing
I read the Param::Validate POD documentation The "problem" with this solution is that the validation process has to be called explicitely at the beginning of the method One solution would be the use of attributes. The attributes implementation could internally use the Param::Validate Advantages of such a solution: . integrated solution (no more explicit call to validation method) . consistent method "prototype" (constructor new and other methods use the same way for the parameters) What do you think about this proposal ? Gaetan
Direct Responses: 3667 | Write a response