On Sunday, June 24, 2001, at 06:31 PM, Richard Clamp wrote:
> On Sun, Jun 24, 2001 at 04:18:55PM +0200, Marcel Grunauer wrote:
>
>> But if they're subroutines (as it looks like from
>> the reference), surely they're available in a subclass through the
>> method resolution mechanism? Or are SEEN and PROB not just simply
>> subroutines?
>
> They're constant subroutines as defined by use constants, which I'm
> using as indexes into an array. These seem not to bubble through
> since I get it bitching about barewords.
Well, you can use them as methods, i.e. $self->SEEN. The other thing
I thought about was exporting them, but even that didn't make the
bareword warning go away...
Marcel
--
We are Perl. Your table will be assimilated. Your waiter will adapt to
service us. Surrender your beer. Resistance is futile.
-- London.pm strategy aka "embrace and extend" aka "mark and sweep"