in reply to 'reflection', aka traversing symbol tables
You're applying your matches to the names, not the files. Keep strict and warnings, here's a fairly cheesy approach:
Sorry that's not the whole job, but it's an outline.my $cvs_match = qr/whatever/; for (keys %INC) { push @versions, ($foo = `perldoc -m $_`) =~ /$cvs_match/; }
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: 'reflection', aka traversing symbol tables
by d_i_r_t_y (Monk) on Apr 06, 2002 at 08:33 UTC |