Bob Showalter wrote: > A more idiomatic way to write this is: > > for my $i (0 .. @files) { >
you probably mean: for my $i (0 .. $#files){ } the range operator is inclusive. david -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]