in reply to use bytes without breaking perl 5.005 or 5.004?
Matts showed me a clever way to do it the other day. I thought it was beautiful:
$INC{ 'bytes.pm' }++ if $] < 5.006
Once that's in %INC, calls to "use bytes" do nothing, apparently
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: use bytes without breaking perl 5.005 or 5.004? (also)
by tye (Sage) on Sep 26, 2003 at 21:10 UTC | |
by joshclark (Novice) on Sep 28, 2003 at 14:02 UTC | |
by tye (Sage) on Sep 29, 2003 at 03:56 UTC | |
|
Just so I understand
by joshclark (Novice) on Sep 28, 2003 at 13:54 UTC |