Mark Knoop wrote:
> 
> Ah was getting confused between exporting and prototybing. Would like to
> export it propertly so have removed the prototype and added the following
> here (from examples):
> 
> require Exporter;
> my @ISA = qw(Exporter);
> my @EXPORT_OK = qw(GetDBHandle);
> return 1;

Either change EXPORT_OK to EXPORT or change the use to :

        use Common::CSAdmin qw(GetDBHandle);

Delete the return 1;

> Still getting: Undefined subroutine &main::GetDBHandle called at
> testcsadmin.pl line 7.

Try to trim your posts a little better.
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to