Hi,

I'm having problems with OOP and Perl. I have an class
named DXFobject and an other class that puts these objects
in an array ( like push @AoO, [dxfInstance] ).
Now I want to access a objects method thru reference (before
I put them into an array ) :

func(\$dxfInstance);

sub func
{
  $ref_to_obj = \$_[0];

  @array = $$ref_to_obj->get_data();
}

but Perl says that it can't call method get_data() on an
unblessed reference. What should I do?


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to