V.Ramkumar wrote: > > If you don't define input line separator $/=undef; Perl reads line by line > only.
No. The default value of $/ is "\n" which makes Perl return one line of text for each read operation. Undefining $/ sets 'slurp' mode which reads all of the file in at once. Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/