in reply to Perl + Unicode == Networking Woes

You could create your own "bytes" pragma for older versions, so that you don't get any errors while executing with these older versions of Perl.

BEGIN { unless (eval {require bytes}) { $INC{'bytes.pm'} = 1; eval "sub bytes::unimport{ undef }"; # 5.00503 doesn't inherit + UNIVERSAL::unimport } } use bytes; # always works no bytes; # also always works ;-)

Liz

Replies are listed 'Best First'.
Re: Re: Perl + Unicode == Networking Woes
by Roger (Parson) on Nov 24, 2003 at 22:31 UTC
    Very nice trick liz, I am learning something new everyday! :-D

Re: Re: Perl + Unicode == Networking Woes
by William G. Davis (Friar) on Nov 24, 2003 at 21:14 UTC

    This works perfectly! Thank you!