I have a variable named $objref which is defined in main package. I want to make it as a Object of Class XYZ. How could I do it?

Showing Answers 1 - 2 of 2 Answers

Nitien

  • Mar 8th, 2006
 

use XYZ;

my $objref= XYZ->new();

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions