On Sun, Sep 12, 2010 at 2:10 PM, Shawn H Corey <shawnhco...@gmail.com>wrote:

> On 10-09-12 04:58 PM, Aristotle Pagaltzis wrote:
>
>> * Shawn H Corey<shawnhco...@gmail.com>  [2010-09-10 14:30]:
>>
>>> On 10-09-10 03:02 AM, Eric Wilhelm wrote:
>>>
>>>>   sub foo {
>>>>     my $self = shift;
>>>>
>>>
>>>   my $self = shift @_;
>>>
>>> Always put the array in the shift.
>>>
>>
>> Why?
>>
>> Regards,
>>
>
> So you will never have experienced Perl programmers come up to you and ask,
> "What does this shift do?  It doesn't do anything; @_ is not set yet."
>
> Things that behave differently should look different.
>
>
> If that's your attitude, Perl is probably not the best language for you...
context is everything in Perl.

Reply via email to