You are resetting (clearing) @EXPORT_OK. Either you need to set it all at once or push 
to it (though I don't know if this latter works, should). See inline.


------------------------------------------------
On Thu, 9 Jan 2003 06:26:01 -0600, "Jerry Preston" <[EMAIL PROTECTED]> wrote:

> Hi!,
> 
> I do not understand what I am doing wrong.  I can pass an hash this way and
> not an array using the following:
> 
>    require Exporter;
> 
>    our @ISA = qw(Exporter);
>    our @EXPORT = qw();
>    our @EXPORT_OK = qw( @T_AREA );
>    our @EXPORT_OK = qw( %T_IDS );

The above line clears and then reassigns @EXPORT_OK, strict/warnings would have yelled 
at you about the same declaration in the same scope, blah blah...better written as:

our @EXPORT_OK = qw ( @T_AREA %T_IDS );

http://danconia.org

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

Reply via email to