in reply to Re: Re: Re: @_ the default variable?
in thread @_ the default variable?

You mean you can't override shift like you can with other built-in functions (import into CORE:: if memory serves)?
  • Comment on Re: Re: Re: Re: @_ the default variable?

Replies are listed 'Best First'.
Re:^5 @_ the default variable?
by blakem (Monsignor) on Sep 15, 2001 at 02:50 UTC
Re: Re: Re: Re: Re: @_ the default variable?
by wog (Curate) on Sep 15, 2001 at 03:14 UTC
    Starting with perl version 5.6.1 you can override shift, like you can with other built-ins. As an indication of this prototype("CORE::shift") returns \@ (which seems a little odd considering the default argument... Hmm...)