in reply to Record Separator Study Aid

Neat. I'd suggest adding two more examples which show some special behavior of $/. Setting $/ to the empty string will read in a paragraph at a time (separated by two or more newlines), and setting it to a reference to an integer (e.g. $/ = \256;) will read in up to that many characters each time.

Replies are listed 'Best First'.
Re: Re: Record Separator Study Aid
by zeno (Friar) on Feb 05, 2001 at 22:48 UTC
    Hi chipmunk,
    Thanks for your input. I went ahead and modified the code as you suggested. Thanks! -zeno