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 tmharish (Friar)
on Feb 23, 2013 at 10:08 UTC ( [id://1020294]=note: print w/replies, xml ) Need Help??


in reply to Re: Setting up a test db with MakeMaker
in thread Setting up a test db with MakeMaker

what about wrapping it into a module? You can even place it into the t/ directory and just add the following to each .t file: use TestSetup;

Does that work on 5.6?

Replies are listed 'Best First'.
Re^3: Setting up a test db with MakeMaker
by afoken (Chancellor) on Feb 23, 2013 at 18:20 UTC
    Does that work on 5.6?

    Why should it not work? Why don't you try it?

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
      Why should it not work?

      Because I assumed that this will require BUILD_REQUIRES to be set and the default ExtUtils::MakeMaker version that shipped with 5.6 dint have it.

      Why don't you try it?

      I did and am yet to get it to work ( even on higher versions ) - Will reply once I find a way to get it to work or I give up, meanwhile - Did you?

      Update: I Managed it with a require 't/tests.pm'. I am not sure that thats what choroba meant though.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (9)
As of 2024-03-28 09:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found