[Chicago-talk] "File-scraping"

Ed Summers ehs at pobox.com
Fri Jan 16 09:56:46 CST 2004

On Thu, Jan 15, 2004 at 10:22:16PM -0600, petemar1 wrote:
> I already have my regex, it's a filehandling issue. I can open(FILE
> ">>filename"); and close(FILE) and write to it with print FILE "blah," but
> what's the function to read from said FILE?

    open( FILE, 'filename' );

Or if you prefer to use the shiny IO::File objects (as I do)

    my $fh = IO::File->new();
    $fh->open( 'filename' );


More information about the Chicago-talk mailing list