in reply to Copy of a filehandle reference

The docs say:

parse_data DATA Instance method. Parse a MIME message that's already in core.

so this should work:

my @copy = <$input>; my $entity = $parser->parse_data( @copy );

Replies are listed 'Best First'.
Re: Re: Copy of a filehandle reference
by Anonymous Monk on Jun 19, 2003 at 04:15 UTC
    That didn't work either. The @copy got a number value... (number of lines?) and the parser returned nothing.
    I guess I should look up what "already in core" means.