Package: perl-doc
Version: 5.20.1-1
Severity: wishlist
File: /usr/share/perl/5.20.1/pod/perlfaq4.pod

We read
           my $diff = $date1 - $date2;
           print "The difference is ", $date_diff->days, " days\n";

shouldn't that be $diff, not $date_diff?


P.S., weird indenting on Time::Seconds"

           $val->minutes;
           $val->hours;
           $val->days;
           $val->weeks;
               $val->months;
               $val->financial_months; # 30 days
           $val->years;


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to