Hi Konstantin,
* Konstantin S. Uvarin [2016-12-27 11:24]:
> 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;"
maybe https://metacpan.org/pod/aliased is good enough?
perl -Maliased=My::Very::Long::Module,X -we 'prin
* Aristotle Pagaltzis [2017-01-09 01:42]:
> * Konstantin S. Uvarin [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-
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
wrote:
> * Aristotle Pagaltzis [2017-01-09 01:42]:
> > * Konstantin S. Uvarin [2016-12-27 11:24]:
> > > perl -Mnew=x=My::Very::Long::Module,foo,42 -we "print $x