Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
gives me an output as#!/usr/bin/perl -w use Test; BEGIN {plan tests=>3} ; use Test::Data qw(Array); @arr=qw(roop ras dar ); $a=dar; array_any_ok( $a, @arr, [ NAME] ); array_empty_ok(@arr ,[ME] );
1..3 # Running under perl version 5.006 for linux # Current time local: Tue Jun 22 16:51:24 2004 # Current time GMT: Tue Jun 22 11:21:24 2004 # Using Test.pm version 1.25 ok firstYou tried to run a test without a plan! Gotta have a plan. at /usr/lib perl5/site_perl/5.6.0/Test/Data/Array.pm line 47 # Looks like your test died before it could output anything.Can u help.i m runng ths prog on Linux 5.6 version.Test-Data0.92 version.
Edit by castaway, retitle from 'Help', added pre tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem using Test::Data
by adrianh (Chancellor) on Jun 22, 2004 at 13:39 UTC | |
|
Re: Problem using Test::Data
by EvdB (Deacon) on Jun 22, 2004 at 11:51 UTC |