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 2008-06-24 15:00:31-07 by jdhedden in response to 8142
Re: Question about multi-field object tests in :Init
As far as I can tell from what you've describe, the :Init subroutine is the appropriate place for such checks to be made. I also see no way to 'parametrize' the sort of checks you're suggesting. All of this sounds like class-specific checking that is appropriate for inclusion in an :Init subroutine.

If you can come up with a 'real' example where the existing model is inadequate, that might provide me with more ideas to chew on.
Direct Responses: 8148 | Write a response