in reply to How to localize conditionally?
Maybe
{ local $ENV{BLAH} = 42 if condition(); libcall(); }
|
---|
In Section
Seekers of Perl Wisdom