On Jul 10, 12:10 pm, [EMAIL PROTECTED] (Gowtham) wrote:
> 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 som
Gowtham wrote:
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
It means that the hash has used 33
> 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?
perld
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