in reply to adding a count before the limit?

Then why don't you increment the counter first? Or, just do my $count = @five;

  • In general, if you think something isn't in Perl, try it out, because it usually is. :-)
  • "What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?"