in reply to Re^4: slow startup for some common modules? (autodie, Pod::Usage, Getopt::Long))
in thread slow startup for some common modules? (autodie, Pod::Usage, Getopt::Long))
Timing! You can't make a compile-time use (the BEGIN-part) depend on run-time conditions.
FWIW: you could use the if pragma, but only if the condition is available at compile-time
use if $] < 5.008, "utf8"; use if WANT_WARNINGS, warnings => qw(all);
but as you see the conditions here are (compile time) constants
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
|
|---|