Help for this page

Select Code to Download


  1. or download this
    sub num_month{
      my $date = shift;
    ...
    
      return $date;  #<----this is the $date from before the foreach loop 
    +-- ie, exactly what was passed to the sub
    }
    
  2. or download this
    use strict;
    use warnings;
    ...
    9
    10
    1