dmitri has asked for the wisdom of the Perl Monks concerning the following question:
being the maintainer of the Perl part of ctags, I get very interesting bug reports from time to time, for instance this one.
I would consider the snippet of code below a very rare (read: nonexistant) occurence. I mean, who would use __END__ as the terminator for a here-to document? The best way to test my assumption would be to grep the whole of CPAN...
Question: what is the best way to "grep" CPAN?
Thank you,
- Dmitri.
Snippet from the bug report:
package a; sub abc { print "abc"; } sub def { print <<__END__; def __END__ } sub ghi { print "ghi"; } 1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Grepping the whole of CPAN
by jasonk (Parson) on Jul 12, 2007 at 02:02 UTC | |
by dmitri (Priest) on Jul 12, 2007 at 03:18 UTC | |
|
Re: Grepping the whole of CPAN
by Corion (Patriarch) on Jul 12, 2007 at 06:30 UTC | |
|
Re: Grepping the whole of CPAN
by holli (Abbot) on Jul 12, 2007 at 11:00 UTC | |
by dmitri (Priest) on Jul 12, 2007 at 15:33 UTC |