Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
No such thing as a small change
 
PerlMonks  

Re: Parameters, subs and the shift function

by Abigail-II (Bishop)
on Aug 19, 2003 at 10:55 UTC ( [id://284918]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 11: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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://284918]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.