Interestingly, A hash in a scalar context returns some fraction.

Like, this code

@array = ( 1 .. 100 );
%hash = @array;
print scalar %hash, "\n";

prints

33/64

Can somebody help me understand what this 33/64 is?

Thanks
Gowtham


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to