in reply to Re: Re: Re: push
in thread push

i tried it that way and i get an error that it needs an explicit package. do you know which pm it might need?

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: push
by chipmunk (Parson) on Jan 31, 2001 at 04:18 UTC
    That error just means that you're running with use strict and have an undeclared variable.

    perldiag:

    Global symbol "%s" requires explicit package name (F) You've said "use strict vars", which indicates that all variables must either be lexically scoped (using "my"), or explicitly qualified to say which package the global variable is in (using "::").
    Odd that the explanation doesn't mention use vars, though...