in reply to Tracking objects.

For one thing, how is perl to know what "Test" is?
I don't see you using that module.

for (my $i=0; $i != $_[0]; $i++) {

You are definiing $i but not using it for a purpose other than iterating the loop itself.
This C-like for loop could look like this in Perl:

for ( 1 .. $_[0]; ) {

Cheers, Sören

Replies are listed 'Best First'.
Re^2: Tracking objects.
by chb (Deacon) on Nov 26, 2004 at 10:43 UTC
    This would have the additional benefit of not going berzerk on negative values for $_[0]...