Re: How to 'conditionally' use a specified module



danny wrote:
I need to check if one of my variables is true, then use a specific module:

Use the 'if' pragma (which is different than the "usual" if operator):

use if ($use_cache eq 'yes'), Cache::SizeAwareFileCache;


--
The best way to get a good answer is to ask a good question.
David Filmer (http://DavidFilmer.com)

.