On Tue, Feb 7, 2012 at 3:19 PM, Jeff Peng <p...@staff.dnsbed.com> 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: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to