That a really neat idea.
As \undef always returns the same value regardless of how many times you call it within a given script, that will effectively turn the module into a singleton. This has the very desirable side-effect of ensuring that the random sequence isn't messed by calling multiple instances. It neatly removes the need to serialise the access.
In reply to Re: Re: Random number generator
by BrowserUk
in thread Random number generator
by Chady
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |