in reply to Re: Finding pages without specific words
in thread Finding pages without specific words

Thanks to everyone! What is local $/ doing?
open (IN, $File::Find::name) or die "Can't open '$File::Find::name': $ +!\n"; { local $/; # Slurp-Mode means what and what is local $/ d +oing?? $text = <IN>; }

Replies are listed 'Best First'.
Re: Re: Re: Finding pages without specific words
by Happy-the-monk (Canon) on Mar 11, 2004 at 13:56 UTC

    in perldoc perlvar you can find out more about $/ and the "slurp mode".
    Look for "input_record_separator"

    Sören