in reply to What's the point of a labeled block without a loop?
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
|
|---|