There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Well if you do ; you will see that perl treats the reference to the anonymous array [10] as a number . So what you do is like :
In my case this number is 27783332 and the array reference is 0x1a7f0a4 ( that you can see by doing print [10]) which is 27783332 in hex ... If i repeat execution i get the same reference over and over again for this anon array. I don't know why but that's another problem ;)
In reply to Re: what does rand[] return?
by secret
|
|