Re: Data::ShortNameProvider proposal
Tim Bunce <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.sybase.devel |
|---|---|
| Message-ID | <[email protected]> |
That's a nice example of another 'style' that could be provided as a plugin. Tim. On Tue, May 13, 2014 at 09:16:50PM -0500, David Nicol wrote: > "Crockford Encoding" could be useful, and when your short names are Crockford Encoded, they are easier > to share by people. > > On Tue, May 13, 2014 at 5:11 PM, Tim Bunce <[1][email protected]> wrote: > > Create short names that encode a timestamp and a fixed prefix in a > format that's unlikely to match normal names. > > A typical use-case would be the creation of database table names or > file names in situations where you need to minimize the risk of > clashing with existing items. > > The generated names can be detected and parsed to extract the > timestamp.