Based on Reini's comment, "Stasher" came to mind. Short, unique, not taken, not likely to bother anybody. That's not the right word, but maybe it gives you some ideas.
David On Tue, Dec 27, 2016 at 5:29 AM, Reini Urban <reini.ur...@gmail.com> wrote: > > > On Dec 27, 2016, at 11:20 AM, Konstantin S. Uvarin <khe...@gmail.com> > wrote: > > > > Hello everyone, > > > > I've come up with idea or a module that shortens (mostly test) > one-liners. > > That module should be called Stash::Alias, not HAS. > > > E.g. we have something like > > > > perl -we 'use My::Very::Long::Module; $x = > My::Very::Long::Module->new( foo => 42 ); print $x->foo;' > > > > I've come up with an interface to shorten that to just > > > > perl -Mnew=x=My::Very::Long::Module,foo,42 -we "print $x->foo;" > > > > It works well under strict, too. > > > > And it looks like it makes some sense - see this Perlmonks discussion: > http://perlmonks.org/?node_id=1178455 > > > > However, I'm still unsure if the fun is worth putting into global > namespace, and module name HAS to be short, otherwise it kills the idea. > > > > Maybe there's a way to get people to try it out first without > polluting CPAN if it fails? > > > > Acme::n? github project w/o CPAN release?.. > > > > The module itself: > > > > https://gist.github.com/dallaylaen/206a649ea54db4c6db93e99a2e9514b0 > > > > Thank you, > > > > -- > > Konstantin S. Uvarin > > jabber: see <from> > > skype: kuvarin > > http://github.com/dallaylaen > > -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." -- Brian Kernighan