http://qs321.pair.com?node_id=11109879

ovedpo15 has asked for the wisdom of the Perl Monks concerning the following question:

Hello monks,
I have a module XYZ.
I would like to use it in my code $USE_XYZ is enabled. I tried to add:
begin { if($ENV{USE_XYZ} == 1) { use XYZ; } }
but it looks like it still being used, even though $USE_XYZ is undefined.
How can I acheive this behaviour?