Re: A funny module that shortens one-liners - is it worth global namespace?
[email protected] (Aristotle Pagaltzis)
| Newsgroups | perl.module-authors |
|---|---|
| Message-ID | <[email protected]> |
* 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'