On Mon, Jul 21, 2003 at 12:19:11PM -0700, Austin Hastings wrote: > Likewise: > > my $fh = open "<perl.1.gz"; > > $fh =~ /<Grammars::Languages::Runoff::Nroff(input_method > = Grammars::Languages::Runoff::tbl(input_method > = Grammars::Language::Runoff::eqn(input_method > = IO::Gunzip)))>/;
Very cool. Assuming this ran successfully, what would the match object contain? Or, more specifically, how would you get the pieces out? Using $1, $2 etc would get cumbersome...is there an easier way? --Dks