SPUG: Reading a whole file into a scalar.
Duane Blanchard
dblanchard at gmail.com
Fri Jul 22 16:10:51 PDT 2005
Thanks,
Like most of Perl, that makes sense, but isn't something I would
realize on my own.
D
On 7/22/05, Yitzchak Scott-Thoennes <sthoenna at efn.org> wrote:
> On Wed, Jul 20, 2005 at 06:19:02PM -0700, Duane Blanchard wrote:
>
> > As I recall, I'll use the 'm' flag to hand the RE more than one
> > line, and '\s' should handle '\n'.
>
> Specifically, the //m flag just changes what ^ and $ match. The //s
> flag just changes what . matches. Either or both may be needed.
>
--
Duane Blanchard
206.934.5873
There are 10 kinds of people in the world;
those who know binary and those who don't.
More information about the spug-list
mailing list