Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

RFC: new.pm - a perl -e use/new shortener

by Dallaylaen (Chaplain)
on Dec 24, 2016 at 11:20 UTC ( [id://1178455]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -we 'use new qw(My::Very::Long::Module x foo 42); print $x->get_f
    +oo;'
    
  2. or download this
    perl -we 'use My::Very::Long::Module; our $x = My::Very::Long::Module-
    +>new( foo => 42 ); print $x->get_foo;'
    
  3. or download this
    package new;
    
    ...
    };
    
    1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://1178455]
Approved by 1nickt
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-03-28 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found