in reply to Re: Database design and Class::DBI
in thread Database design and Class::DBI
First, these are method calls and prototypes on method calls are ignored. I realize this is a special case that allows for constant folding -- I don't want to use prototypes for the only and only case where they actually work with methods :) I might encourage others to do Bad Things.
Second, the discussion of void prototype issues and the resultant "mysterious" behavior is enough for me to avoid using them unless I really, really want them. Also, subclassing them doesn't always work if they've been optimized away. Later versions of Perl (IIRC >= 5.8?) will optimize away the subroutine itself, thus ensuring that calls to SUPER from a subclass will have disappointing results.
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: Re: Re: Database design and Class::DBI
by perrin (Chancellor) on Mar 06, 2003 at 04:12 UTC | |
by Ovid (Cardinal) on Mar 06, 2003 at 15:56 UTC | |
by perrin (Chancellor) on Mar 06, 2003 at 16:26 UTC |