...pretty much the same as this:BEGIN { if( eval { require bytes } ) { bytes->import(); } }
I'm a bit new to trying to import modules and pragmas outside of the regular "use" function, so I'm just trying to be sure that I understand the difference, if any.BEGIN { eval {require bytes; import bytes; 1} }
In reply to Is this fundamentally different than my original try?
by joshclark
in thread use bytes without breaking perl 5.005 or 5.004?
by joshclark
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |