Really, the previous code is correct. The instance variable of the object is accessed in these form, or

$str = $$rng{style};

Bye.

In reply to Re^2: What is the perl equivalent of vba by Anonymous Monk
in thread What is the perl equivalent of vba by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":