On Fri, 16 Feb 2007 14:46:12 +0100, cz172638 wrote:
> it looks well, but i tried to export them unsuccessfully.
> 
>>It's not worth the trouble of doing this with constant.pm.  Use
>>Readonly.pm instead:
>>
>>use Readonly;
>>Readonly my %TESTERCONFIG => ...;

Well sure you can't export a lexical, so use our instead of my.

-- 
Peter Scott
http://www.perlmedic.com/
http://www.perldebugged.com/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to