Hi all,
I have trouble making a module:
I have a test script:
-------------------------
use lib 'c:/xitami/cgi-bin/Sybase';
print "*\n";
use ven::base_hand;
print open_base();
exit;
-------------------------
And my Module:
-------------------------
package ven::base_hand;
$VERSION = '1.00';
require Exporter;
@EXPORT_OK=qw(open_base close_base);
1;
sub open_base
{
print "open_base\n";
}
sub close_base
{
print "close_base\n";
}
-------------------------
And this is my output:
-------------------------
C:\>C:\Xitami\cgi-bin\Sybase\test.pl
*
Undefined subroutine &main::open_base called at
C:\Xitami\cgi-bin\Sybase\test.pl
line 7.
C:\>
-------------------------
why is open_base undefinded ? must I do somthing with new() ? How can I make
modules ?
thanks,
best regards
Ven
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web