use strict; use warnings; my %seq; for (@data) { my ($tag) = split; no warnings 'uninitialized'; my $seq = ++$seq{$tag} ; print "$_ -> seqno = $seq\n"; }
In reply to Re: Generating sequence nos. for data
by salva
in thread Generating sequence nos. for data
by icg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |