On Fri, Jan 9, 2015 at 3:39 AM, Dermot <[email protected]> wrote: > I think John has answered your immediate question. > > ... > for (0..$#files) { > print "$_) $files[$_]\n"; > } >
Alternatively (at least since 5.14) : say "$k) $v" while ($k,$v) = each @files; -- Charles DeRykus -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
