Next Program Repair Shop 21

Declaration near use

      my @now  = localtime();
      my $YY   = strftime( "%y", @now );
      my $YYYY = strftime( "%Y", @now );
      my $MM   = strftime( "%m", @now );
      my $MMM  = uc( strftime( "%b", @now ) );
      my $DD   = strftime( "%d", @now );
      ...
      sub archive_file {
        ...
        my $dir;
        $dir = "$archive_dir/$YYYY/$MM/$DD/$provider";
      my @now  = localtime();
      my $YY   = strftime( "%y", @now );
      my $MMM  = uc( strftime( "%b", @now ) );
      ...
      sub archive_file {
        ...
        my $dir = strftime "$archive_dir/%Y/%m/%d/$provider", localtime();

Next Copyright © 2006 M. J. Dominus