Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Setting up a test db with MakeMaker

by danmcb (Monk)
on Feb 25, 2013 at 14:10 UTC ( [id://1020529]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package test_setup;
    sub setup {
    # setup your db or whatever here
    }
    1;
    
  2. or download this
    require t::test_setup;
    test_setup::setup();
    
  3. or download this
    package test_setup;
    
    ...
    }
    
    1;
    
  4. or download this
    if ( $ENV{USE_TEST_DB} ) {
      __PACKAGE__->config( 'Plugin::ConfigLoader' => { file => 'myapp_test
    +.yml'} );
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found