Konstantin S. Uvarin writes:
> I've come up with idea or a module that shortens (mostly test)
> one-liners.
>
> perl -we 'use My::Very::Long::Module; $x = My::Very::Long::Module->new( foo
> => 42 ); print $x->foo;'
>
> perl -Mnew=x=My::Very::Long::Module,foo,42 -we "print $x->foo;"
Have you se
Hello everyone,
> 1perl -e '$x = My::Very::Long::Module->new( foo => 42 ); print $x->foo'
Good point. And there's also L module https://metacpan.org/pod/L which does
more or less what I propose. So I think this topic is covered. =)
On Tue, Jan 3, 2017 at 11:52 AM, Smylers wrote:
> Konstantin
Konstantin S. Uvarin writes:
> Hello everyone,
>
> > 1perl -e '$x = My::Very::Long::Module->new( foo => 42 ); print $x->foo'
>
> Good point. And there's also L module https://metacpan.org/pod/L which
> does more or less what I propose.
L looks to be the equivalent of Class::Autouse :superloade