Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by CountZero (Bishop)
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?
[chacham]: hi
[shmem]: hola

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2017-06-26 21:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (594 votes). Check out past polls.