[rt-users] Accessing Hashes from modules

Munoz, Alvaro alvaro.munoz at hp.com
Wed Mar 12 07:45:35 EDT 2008


Hi All,

I've defined a hash in AT_SiteConfig.pm:
my %Links = (
        Soporta    => 'SeSoportaEn',
        Ejecuta    => 'SeEjecutaEn',
        RefersTo    => 'ReferredToBy',
);

And then I'm trying to access it from Asset_overlay.pm with the following line:
my %Links = %RTx::AssetTracker::Links;

But I got an empty hash. However if I access the very same config hash from Display.html I get it. Do you know whats wrong? Any hint?

Thanks,

Alvaro Muñoz Sánchez
P Antes de imprimir piensa en el medio ambiente

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080312/7e528402/attachment.htm>


More information about the rt-users mailing list