Re: A funny module that shortens one-liners - is it worth global namespace?

[email protected] ("Konstantin S. Uvarin")
Newsgroups perl.module-authors
Message-ID <CAJj2qWmFnnPdnZ_e2+4adsptRwsiP6xCJcrOGuV3z0-UHokyrQ@mail.gmail.com>
Hi Aristotle,

  Thanks for the aliased link, looks like it covers the need, too.

On Mon, Jan 9, 2017 at 2:43 AM, Aristotle Pagaltzis <[email protected]>
wrote:

> * Aristotle Pagaltzis <[email protected]> [2017-01-09 01:42]:
> > * Konstantin S. Uvarin <[email protected]> [2016-12-27 11:24]:
> > > perl -Mnew=x=My::Very::Long::Module,foo,42 -we "print $x->foo;"
> >
> >   perl -Maliased=My::Very::Long::Module,X -we 'print X->new( foo => 42
> )'
>
> Err.
>
>     perl -Maliased=My::Very::Long::Module,X -we 'print X->new( foo => 42
> )->foo'
>



-- 
Konstantin S. Uvarin
jabber: see <from>
skype: kuvarin
http://github.com/dallaylaen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.