On Mon, Dec 17, 2001 at 11:04:10PM -0500, Michael R. Wolf wrote:
> $length = @thearray
> 
> The assignment operator supplies the scalar context.

No, it's not the assignment operator that provides the scalar context, it's
the assignment to a scalar.

Consider:

    @anotherarray = @array;

or

    ($element0) = @array;


Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to