On Tue, 8 Aug 2000 10:02:45 +0100, Andy Wardley wrote:

>I was trying to strike a similarity
>with the current style of passing named parameters as a hash ref or
>naked list.  e.g.
>
>    mysub({ first => 1, second => 2 });
>or
>    mysub( first => 1, second => 2 );
>
>See, no prefixes!

The difference is that inside the sub, you don't access the hash values
using prefixes for the keys, either. With (automatically created)
lexical variables, you do.

-- 
        Bart.

Reply via email to