http://www.perlmonks.org?node_id=426551


in reply to What is the perl equivalent of vba

Hi there,

Ok, I am assuming you have an object, $rng, of some type, and it has a style() method, you can call it by  $str = $rng->style();

cheers

thinker

Replies are listed 'Best First'.
Re^2: What is the perl equivalent of vba
by Anonymous Monk on Jan 31, 2005 at 13:27 UTC
    Really, the previous code is correct. The instance variable of the object is accessed in these form, or

    $str = $$rng{style};

    Bye.