in reply to Re: Re: Parameters, subs and the shift function
in thread Parameters, subs and the shift function

Run it under strict, and try it without the +. The error message you get will enlighten you.

Abigail

  • Comment on Re: Parameters, subs and the shift function

Replies are listed 'Best First'.
Re: Re: Parameters, subs and the shift function
by monktim (Friar) on Aug 19, 2003 at 15:02 UTC
    Ahh, thank you. I'm a little embarrassed. I never dereferenced a builtin like shift only user defined functions.
    Global symbol "@shift" requires explicit package name at noname5.pl li +ne 5. Global symbol "@shift" requires explicit package name at noname5.pl li +ne 6. Execution of noname5.pl aborted due to compilation errors.