You might also want to think about setting $/ = "" rather than $/ = "\n\n".
Using "" will define the line separator as one *or more* blank lines, while
"\n\n" will match only a single one (so for example if there are three
consecutive \n's the third will be assigned to the next paragraph). See
perldoc perlvar for a better explanation.
Cheers
Mark C
>
> $/ is the var for this, so you should say:
> $/="\n\n";
>
> have a nice day.
>
>
> On Tue, 3 Jul 2001 [EMAIL PROTECTED] wrote:
>
> > i'd like to define a new line separator as a simple blank
> line. i have
> > tried \n\n and even tried ^$ in the way of a regex, but to
> no avail. is
> > there a metacharacter specific to this?
> >
> > -cjm
> >
>
> pozsy
> --
>
>