Think about Loose Coupling | |
PerlMonks |
Re^3: disable functions if module not installedby almut (Canon) |
on Nov 04, 2008 at 13:59 UTC ( [id://721397]=note: print w/replies, xml ) | Need Help?? |
require returns true on success, yes, and false (undef) otherwise. That was the idea :) string-eval eats memory Why would that be (in this case, where the string is just a few bytes)? Any tests/data to prove the claim?
Not sure what this is meant to demonstrate — I thought we were talking about eval "require ...":
(note: swap single and double quotes if you're on Windows)
In Section
Seekers of Perl Wisdom
|
|