Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
P is for Practical
 
PerlMonks  

Re: Where to put self-made loop logic (separate module)?

by CountZero (Chancellor)
on Dec 30, 2012 at 09:14 UTC ( #1010904=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package My::Cunning::Module;
    use Modern::Perl;
    use Exporter qw/import/; 
    ...
        ...
    }
    1;
    
  2. or download this
    use Modern::Perl;
    use My::Cunning::Module qw/looper/;
    
    # somewhere in your program
    looper($data) or die 'It did not work';
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2014-04-16 06:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (414 votes), past polls