in reply to Re: Source Grabber
in thread Source Grabber

BTW, the corresonding function to C<length()> is <scalar()> for a list (which forces scalar context, as already stated above).

In case not already clear, this was meant for Andrew_Levenson.

Replies are listed 'Best First'.
Re^3: Source Grabber
by diotalevi (Canon) on Mar 31, 2006 at 14:12 UTC
    scalar() for a list

    No. scalar() imposes scalar context for whatever expression is its argument regardless of whether that expression is a list, array, scalar, function call, etc.

    ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

    A reply falls below the community's threshold of quality. You may see it by logging in.