Well, in that case I think it's easier to provide two functions, one which returns the array and one which returns the hash.
Another idea would be to provide some global way of configuring the module into either returning hashes or arrays.
-- Hofmator
In reply to Re: Re: Scalar ref acting as simulatenous hash and array?
by Hofmator
in thread Scalar ref acting as simulatenous hash and array?
by Masem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |