Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by CountZero (Bishop)
on Dec 30, 2012 at 09:14 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1010904]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-26 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found