Michael Kingsbury wrote:
>> print Dog::Hello;
>
> That was it, they weren't exported I think.  Refering to them as
> Win32::File::ARCHIVE, I don't have the problem.

Hi Mike

The Win32::File module exports the constants by default. If you want
to import GetAttributes and SetAttributes as well you have to do:

    use Win32::File;
    use Win32::File qw(GetAttributes SetAttributes);

or just

    use Win32::File qw(:DEFAULT GetAttributes SetAttributes);

HTH,

Rob




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to