develooper Front page | perl.module-authors | Postings from December 2011

Re: Naming of Perl module

Thread Previous | Thread Next
December 14, 2011 03:46
Re: Naming of Perl module
Message ID:
Bill Ward writes:

> File::RegexMatch?

I think having ::Find:: in there would be better, so that it's
immediately obvious that this module performs a similar task to the
other modules already named like that.

File::Find::Regexp, perhaps?

(Note that 'Regexp' with a 'p' appears to be the canonical Perl way of
spelling it:

  % perl -E "say ref qr//"

It's also a superset of the spelling 'Regex', so searching for 'Regex'
should still find it, whereas searching for 'Regexp' wouldn't match

On the downside, 'Regexp' is considerably harder to say than 'Regex'.)


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About