Re: How to 'conditionally' use a specified module
- From: usenet@xxxxxxxxxxxxxxx
- Date: 15 Nov 2006 16:48:28 -0800
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)
.
- Follow-Ups:
- Re: How to 'conditionally' use a specified module
- From: Uri Guttman
- Re: How to 'conditionally' use a specified module
- From: usenet
- Re: How to 'conditionally' use a specified module
- References:
- How to 'conditionally' use a specified module
- From: danny
- How to 'conditionally' use a specified module
- Prev by Date: How to 'conditionally' use a specified module
- Next by Date: Re: How to 'conditionally' use a specified module
- Previous by thread: How to 'conditionally' use a specified module
- Next by thread: Re: How to 'conditionally' use a specified module
- Index(es):