Hi,
I have this database object, $myData. I want to pass the pointer to myData to the
subroutine errorCheck. The aim is
Say, I do this:
In the mainline code
.
.
.
$myData = new Win32:ODBC("someDataSource");
.
.
.
errorCheck($myData)
.
.
in the subroutine
sub errorCheck
{
my ($localObject);
$localObject = $_[0];
$localObject->Error();
}
The Perl Cookbook recipe was confusing.
[EMAIL PROTECTED]
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl