note
monsieur_champs
<p>I think you can say
<code>
BEGIN {
package Y;
$VERSION = 0.1;
1;
package X;
if ( $Y::VERSION < 1 ) {
# How to enable use bytes for the whole modue X?
# with condition $Y::VERSION in mind?
## Not use()'d anymore.
# use bytes;
require bytes;
}
</code>
<p>And this will do what you mean.</p>
<p><i><b>Note: this is untested code, as always.</b></i></p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-260843">
<p align="right"><small>-- [monsieur_champs]</small></p>
</div></div>
408981
408981