in reply to Re^2: Perl for OLE & OCX
in thread Perl for OLE & OCX

     class CModes, which contains a property Count as a readonly Long

<Lightbulb>
OK so if Count is really a property, is should be accessed thus:

my $c = $HALi->{'Modes'}{Count}; # or, my preference my $c = $HALi->{Modes}->{Count};
</Lightbulb>

Update: Just noticed that meetraz had the same idea, but his access method is slightly different.

Offense, like beauty, is in the eye of the beholder, and a fantasy.
By guaranteeing freedom of expression, the First Amendment also guarantees offense.

Replies are listed 'Best First'.
Re^4: Perl for OLE & OCX
by wa4otj (Beadle) on Jun 16, 2004 at 21:23 UTC
    Again, thanks for the suggestion, but tried it already. I get 'Object variable or With block variable not set' when I try that.

    Nathan