Amethyst
view release on metacpan or search on metacpan
Amethyst/Brain/Infobot/Module/Purldoc.pm view on Meta::CPAN
}
# I probably don't need to pass the array to the subroutine, but
# it looks more impressive when the subroutine is all pr0totyped,
# etc., and perhaps I can distract you, the noble reader, from
# noticing the other less impressive bits of this code by putting
# in overly complicated code. We pass the array because we're only
# using return values if the sub blows up. Lame? Yes. Stupid?
# Perhaps. Intentional? Sure! This is perl, it's supposed to
# be fun. ;)
sub purldoc_lookup ($\$\@) {
my $self = shift ;
my $regex = shift;
my $original_regex = $regex;
my $target_filename = 'pod/perlfaq.pod';
my $results = shift;
( run in 0.465 second using v1.01-cache-2.11-cpan-49f99fa48dc )