cutlass2006 has asked for the wisdom of the Perl Monks concerning the following question:
I am using Module::Build and would like to refer to args that I originally passed to Build.PL with my tests, e.g. when I execute ./Build test target.
Any ideas on how this is best done and how they are referred too from within .t files ?
Update: Probably requires me to define a sub ACTION_install which passes to $self->SUPER::ACTION_test vars ... though any examples in both the build and test files much appreciated
Update: ok thx for the explanation to use _build/build_params ... I am fine hand rolling access to these, was a little unclear if there was anything built in.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: passing args to tests from Module::Build
by Anonymous Monk on Oct 19, 2009 at 13:11 UTC | |
by Anonymous Monk on Oct 19, 2009 at 13:21 UTC | |
by cutlass2006 (Pilgrim) on Oct 19, 2009 at 13:21 UTC | |
by Anonymous Monk on Oct 19, 2009 at 13:35 UTC |