in reply to splitting on new-line characters

@ary = split(/0d0a/,unpack("H*",$array) );? :-)

Replies are listed 'Best First'.
Re: Re: splitting on new-line characters
by UnderMine (Friar) on Nov 28, 2002 at 12:15 UTC
    You will need to repack the data afterwards :-
    @array=map(pack('H*',$_),(split /0d0a/,unpack("H*",$array)));
    Hope it helps
    UnderMine