On Fri, May 2, 2008 at 5:55 PM, Richard Lee <[EMAIL PROTECTED]> wrote: snip > while (<FH>) { > local $/ = "\n\n"; snip > } snip
You want $/ to have an effect on <FH>, but it is localized to inside of the loop. You need to say { local $/ = "\n\n"; while (<FH>) { } } -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/