I am running ActivePerl 5.8.0 on WindowsNT platform.  The following code is
giving me an unexpected error.  Exact same code runs as expected when I run
it with Perl 5.6.1 on Solaris platform.  Could you point me to what the
cause of the problem might be?  Could it be that I might have massed things
up during installation of the perl build?  Your help is greatly appreciated.

thanx,
Myun

*BASE.pm and test3.pl are under the same directory.

In BASE.pm:
-----------
package BASE;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(display);

sub display
{
    print "you are in BASE.pm\n";
}

In test3.pl:
-------------
#! perl -w

use BASE;

display();
BASE::display();

Error Message:
---------------
D:\Perl\eg>test3.pl
Undefined subroutine &main::display called at D:\Perl\eg\test3.pl line 5.
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to