Re: Reading multi line input from user

2005-04-25 Thread Jay Savage
On 4/25/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I wish to read input from a user that has multiple lines with carriage > returns from but not actually stop reading until a single # on a > line by itself. Is there a module / package / function that will aid in > this? I would like to do

RE: Reading multi line input from user

2005-04-25 Thread Bob Showalter
[EMAIL PROTECTED] wrote: > I wish to read input from a user that has multiple lines with carriage > returns from but not actually stop reading until a single # > on a line by itself. You can use perl's $/ variable to define an record separator. The default is "\n", but you can change it. Try th