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?

Which version of Perl are you using?  If this happens under 5.6, is it
reproducible under 5.005 too?

-Jan


---
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]

Reply via email to