Here's one way. The sequence of strings it produces is non-repeating, and, though very long, not infinite.
{ my $UNIQ_ID = 'a'; sub next_id { return $UNIQ_ID++ } }
In reply to Re: How to generate a unique word or number?
by japhy
in thread How to generate a unique word or number?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |