Subject: | Incorrect values displayed for status |
Using perl v5.8.7 built for i386-freebsd-64int
FreeBSD omni 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
The only issue I've experienced with Smart::Comments 1.001001, is it sometimes displays a number that's vastly greater then the actuall variable.
The following is a simple code sample that exercises this bug... The live copy inserts data into a sql table. There are no instances of $r not shown here.
my $r=1;
while($m=something('foo')) { ### $table: Inserting record $r
$r++;
...
}
-- accounting consists of 1245846 rows.
accounting: Inserting record 1329
and so on, until
accounting: Inserting record 5977777778
moments later,
accounting: Inserting record 611556
I have reviewed the code, but it's beyond me where the problem resides.
Thanks,
Scott Edwards
PS, Thanks for the presentation on Perl6 and Pugs for PLUG at UVSC some weeks ago. If you ever have too many O'Reilly books, just let me know. =)