in reply to Interactive prompts inside a test harness
my $status = authenticate($username, $password); if ($status) { #if authenticate() returned a 'TRUE' value # get the test string from somewhere # and then use it in the following test my $is_like = Test::More->like( get_string(), qw/like_regex/, $test_name); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Interactive prompts inside a test harness
by jkeenan1 (Deacon) on Nov 08, 2006 at 02:04 UTC |