in reply to Re: Win32 EXPORT_OK problems
in thread Win32 EXPORT_OK problems

I presume you got an error with use vars because you had: use vars (@ISA @EXPORT @EXPORT_OK); instead of: use vars qw(@ISA @EXPORT @EXPORT_OK); In the former, you are referring to variables that you have not declared yet. In the latter, you have a list of strings, each one of which happens to be the name of a variable. Examples in the documentation show the proper way to use vars: vars, strict

Replies are listed 'Best First'.
Re: Re: Re: Win32 EXPORT_OK problems
by InfiniteSilence (Curate) on Dec 27, 2000 at 00:56 UTC
    Aha! You were on the right track with your post. There was something wrong with my qw, but I hadn't omitted it, I had accidentally put commas between the names,like so:
    use vars qw(@ISA, @EXPORT_OK, ....
    Which also caused the curious message: "Possible attempt to separate words with commas..."

    Celebrate Intellectual Diversity