Next Program Repair Shop 50

Unnecessary Shell Calls

        Subject: why does this not work?
        Message-Id: <8l1r5c$n76$1@news-int.gatech.edu>
        ($current_month, $current_day, $current_year)
                = split(/-/, `date "+%m-%d-%Y"`);
        $current_year=chomp $current_year;
        ($current_month, $current_day, $current_year)
                = (localtime)[4,3,5];

Next Copyright © 2006 M. J. Dominus