From: "Jerry Preston" <[EMAIL PROTECTED]>
> 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 );

Erm.. would you expect at the end of this
        $x = 5;
        $x = 10;
the $x to contain BOTH 5 and 10?

First you set the list of things to export optionaly to
        ( '@T_AREA' )
and then to
        ( '%T_IDS' )
you can't expect Perl to know you reall wanted to set it to
        ( '@T_AREA', '%T_IDS' )

Jenda

===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


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

Reply via email to