Gossamer Forum
Home : Products : Gossamer Mail : Development, Plugins and Globals :

GMail.pm adding a constant

Quote Reply
GMail.pm adding a constant
I've added a folder constant in GMail.pm (MYFOLDER => 5) to use in a plugin. It was also exported via @EXPORT_OK and %EXPORT_TAGS. However, when trying to use it (use GMail qw/MYFOLDER/) in Install.pm of the plugin, I get this:

Perl Said:
Install.pm syntax OK




Unable to load install file: Unable to load plugin ___ Reason: Install.pm does not compile: "MYFOLDER" is not exported by the GMail module Can't continue after import errors at (eval 443) line 19 BEGIN failed--compilation aborted at (eval 443) line 19.

Anything I did wrong ?

Thanks,

-M

Last edited by:

Jack: Nov 26, 2003, 10:50 AM
Subject Author Views Date
Thread GMail.pm adding a constant MGI 3864 Nov 25, 2003, 6:07 AM
Post Re: [MGI] GMail.pm adding a constant
Recall 3776 Nov 27, 2003, 4:39 PM