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

Re: Naming of Perl module

Thread Previous | Thread Next
From:
Smylers
Date:
December 14, 2011 03:46
Subject:
Re: Naming of Perl module
Message ID:
20111214114634.GC9288@stripey.com
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
'Regex'.

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

Smylers

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About