Jan Dubois wrote:
>
> On Fri, 05 May 2000 13:40:03 -0400, "Ian D. Stewart" <[EMAIL PROTECTED]>
> wrote:
>
> >Here's the beginning of package Java::Class:
> >
> >> package Java::Class;
> >>
> >> use Java::ClassFile qw(:visibility);
> >>
> >> $VERSION = '0.01';
> >>
> >
> >and the method that uses the accXXX subroutines:
> >
> >> sub Dump
> >> {
> >> my $self = shift;
> >> my $handle = shift || \*STDOUT;
> >>
> >> my @keywords = ();
> >> $keywords[accPublic] = "public";
>
> This looks fine to me. I assume there isn't another "package" statement
> between the "use" and the "sub Dump". Is it possible that the
> Java::Class.pm module is picking up another module file for
> Java::ClassFile than the regular script would do?
I wouldn't think so. There's only one Java::ClassFile, at
C:\Perl\site\lib\Java\ClassFile.pm. Java::Class resides at
C:\Perl\site\lib\Java\Class.pm and the test script is
C:\classfile_test.pl
>
> Which version of Perl are you using? If this happens under 5.6, is it
> reproducible under 5.005 too?
>
Using Perl 5.005_02 (ActivePerl Build 507)
I'll test this on my Linux box at home tonight to see if it's platform
specific (I don't see why it would be, but...).
If you like, I can send the full modules and test script, to see if
anyone else can reproduce the error.
Ian
--
99 little bugs in the code, 99 bugs in the code.
Fix one bug, compile again, 100 little bugs in the code.
100 little bugs in the code, 100 bugs in the code.
Fix one bug, compile again, 101 little bugs in the code...
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]