on Thu, 18 Apr 2002 14:09:57 GMT, [EMAIL PROTECTED] (Gary
Stainburn) wrote: 

> While your answer makes sense, why doesn't shift use the $_ as I
> obviously expected?

If you
        
        perldoc perlvar

and look for the description of '$_', you will see where it is 'assumed'.

To complicate matters, the 'shift' operator has it's own default argument, 
which is '@_', since 'shift' needs an array as parameter.

-- 
felix

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to