On Wed, 18 Jul 2001 09:00:25 -0400, John Porter wrote:

>> Does such a thing exist already?
>
>A WTDI exists already:
>
>    for ( $XL->{Application}->{ActiveSheet} ) {
>      $_->cells(1,1) = "Title";
>      $_->language() = "English";
>    }
>
>(presuming lvalue-methods, of course...)

So, in this case, a "with" synonym for "for" would work.

But this only works for scalars. You can't have a %foo alias to
%Some::Other::hash this way, or a @bar alias to @Some::Other::array.

-- 
        Bart.

Reply via email to