Hi,

 I have a module that contains a method for doing mysql queries. I've been
trying to create another method(subroutine) inside the same module that
calls on the first method to do mysql queries.  It doesn't seem to be
working. Is there a special way of doing this (if possible?) 

basically I'm doing this


sub Method2()
{

my $ref = MODULENAME->Method2($MySQL_Statement);

}

I've also tried....

sub Method2()
{

my $ref = &Method2($MySQL_Statement);

}




Thanks,

-Jose

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to