Re: perlfaq6: I put a regular expression into $/ but it didn't work. What's wrong?

[email protected] (_brian_d_foy)
Newsgroups perl.perlfaq.workers,perl.documentation
Message-ID <301020041525557711%[email protected]>
In article <[email protected]>, Robert Spier
<[email protected]> wrote:

> > +                        use File::Stream;
> > +                        my $stream = File::Stream->new($filehandle);

>          my $stream = File::Stream->new($filehandle,
>                                         separator => qr/\s*,\s*/,
>                                        );


Yes, that's much better.  I'll update the patch.

-- 
brian d foy, [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.