in reply to Re^2: Passing Dynamic Value to Test::More tests
in thread Passing Dynamic Value to Test::More tests
Are you using my in there? That part has to be outside the BEGIN block.
my $test_count; BEGIN { $test_count = 2 } use Test::More tests => $test_count;
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
|
|---|