Help for this page

Select Code to Download


  1. or download this
    @month = qw(january february march april may june july august septembe
    +r october november december);
    $m = 1;
    print $month[$m];  # prints "february"
    
  2. or download this
    $m = 1;
    print +(1 .. 12)[$m];     # prints "2"
    
  3. or download this
    $m++;