于 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.

--
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