in reply to module advice
Regarding your constructor:
sub new { my $proto = shift; my $class = ref($proto) || $proto;
Please do not use ref($proto) || $proto unless you need it. It serves no purpose in your code.
Other than that, while I haven't played with your module, I must say that the basic premise looks like a lot of fun :)
Update: Yeah, what tye said! :)
Cheers,
Ovid
New address of my CGI Course.
Silence is Evil (feel free to copy and distribute widely - note copyright text)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: module advice ($proto)
by tye (Sage) on Jun 11, 2003 at 15:07 UTC |