On Tue, Feb 7, 2012 at 3:19 PM, Jeff Peng <[email protected]> wrote:
> 于 2012-2-7 15:07, lina 写道:
>
>>        my $month = shift ;
>>        my $year = shift ;  ######## here after shift the $year becomes
>> null?
>> http://perldoc.perl.org/functions/shift.html
>
>
>
> after shift the @_ becomes null. $year is 2007.

I am sorry, still don't get.

$year = shift

part

thanks
>
> --
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> http://learn.perl.org/
>
>

--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to