Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Difference between use Module::Name and use Module::Name qw /method1 method2/

by tobyink (Abbot)
on Jan 29, 2013 at 11:18 UTC ( #1015853=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Foo::Bar;
    
    ...
      require Foo::Bar;
      Foo::Bar->import(...);
    };
    
  2. or download this
    use Foo::Bar ();
    
    ...
    BEGIN {
      require Foo::Bar;
    };
    
  3. or download this
    Algorithm::LUHN->import();
    Algorithm::LUHN->import(qw/is_valid/);
    
  4. or download this
    Algorithm::LUHN->import(qw/is_valid/);
    
  5. or download this
    Algorithm::LUHN->import(qw/ :validity /);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1015853]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (16)
As of 2014-10-30 13:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (208 votes), past polls