This could also be used as a bookmark for editors, assuming care was used in choosing unique labels.Checker: { my %seen; sub Checker { my $value = shift; if (defined($seen{$value})) { return $value; } else { $seen{$value} = 1; return; } } }
-QM
--
Quantum Mechanics: The dreams stuff is made of
In reply to Re: What's the point of a labeled block without a loop?
by QM
in thread What's the point of a labeled block without a loop?
by JohnMG
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |