in reply to Re: Help with Regular Expressions and Perl
in thread Help with Regular Expressions and Perl

Just a small note: Using slurp mode is usually far more efficient than join()ing a temporary array or list.

$variable=do { local $/=undef; <INFILE> };

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)