[Israel.pm] array 2 hash for quick search
gaal at forum2.org
Tue Jun 15 06:28:38 PDT 2004
On Tue, Jun 15, 2004 at 04:19:50PM +0300, Jason Elbaum wrote:
> >Of course, this was implicit, since AFAIK Perl arrays can only have integer
> >sizes - Right?
> Right. I just wanted to note the limitations of the algorithm.
> (Next Perl Quiz of the Week: Provide a module to implement non-integral
> sized arrays. Show how it can be used to implement the kernel of an
> irrational operating system, like Microsoft Windows.)
I don't know about *have*, but noninteger sizes can certainly be *assigned
$#array = 3.14;
Gaal Yahas <gaal at forum2.org>
More information about the Perl