in reply to Re: Re: Re: Directory Listing
in thread Directory Listing

If you really want to match Perl modules, that should of course be: grep /\.pm$/, readdir DIRH; Otherwise, you're going to match rpm files, ppm files, and any other files ending in pm. :)

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Directory Listing
by turnstep (Parson) on Jan 10, 2001 at 01:28 UTC

    Perl modules? I thought pm was for Perl Monks!

    Or is that Perl Mongers?

    Hrmmm..the real question is, why makes the letter combination "pm" so attractive to perl-related things? :)

      Which reminds me... We really need a gateway to Usenet. Who wants to write the proposal for adding comp.lang.perl.monks? ;)

              - tye (but my friends call me "Tye")