in reply to Re: Re: Portable string length in bytes
in thread Portable string length in bytes
BTW -- is there any trick for conditionally using a pragma like use bytes; in an older Perl?Sure. Create a bogus module file bytes.pm and place it somewhere in @INC. All it needs to contain, is something like "1;", so it loads OK. Older perls always work in bytes, anyway.
|
|---|