[EMAIL PROTECTED] (Jochen Stenzel) writes:
> the base technique is to build a "use constant" statement at runtime and evaluate it 
> via eval().

% perl -w -Mstrict -le 'eval "use constant FOO => 3"; print FOO' 
Name "main::FOO" used only once: possible typo at -e line 1.
print() on unopened filehandle FOO at -e line 1.
%

Any other ideas?

-- 
`And when you've been *plonk*ed by Simon C., you've been *plonked*
by someone who knows when, and why, and how.' - Mike Andrews, asr

Reply via email to