On 18 Jun 2001 16:42:45 -0500, Nick Transier wrote:
> given this new function which acts as a constructor
>
>
> sub new {
>
> my $invocant = shift;
> my $class = ref($invocant) || $invocant;
> my $self = {
> Level => 999,
> Value => 999,
> Key => 999,
> @Next,
> @_,
> };
> return bless $self,$class;
>
> }
>
> I am getting the following error:
> "Global symbol @Next requires explicit package name at c:\...."
>
> What does this mean?
>
<snip />
It means you are using strict and it is warning you that you have not
created @Next. Where is @Next comming from? Is it a class variable?
--
Today is Prickle-Prickle, the 23rd day of Confusion in the YOLD 3167
All Hail Discordia!