Hi -

I came across a strange problem using Text::FIGlet in a module I am developing. 
When using
'[n]make test' against a test script in my module's test suite that uses 
Text::FIGlet I get ten
hundred million ( ;) ) 'unintellectual' warnings from FIGlet.pm, yet the test 
succeeds. If I
install the module and then run the same test script w/o the Test::Harness
monkey business of Make::Maker, NO warnings.

For example:

1) x2hx -A -X -n My::Test
2) Add this script to the t subdirectory as 'ftest.t':

use Text::FIGlet;
use Test::More tests => 1;

# -------------------------------------------------------------
# Download 'ftp://ftp.plig.org/pub/figlet/fonts/ours.tar.gz'
# and unpack to a directory; use directory in the -d parameter
# to 'new' below.
# -------------------------------------------------------------

my $fig = Text::FIGlet->new( -d => "C:/Perl/FIGlet/fonts/ours" );
ok( $fig, 'new' );

3) Run perl Makefile.PL && [n]make test ( look at all those warnings! )
4) cd t && perl ftest.t ( NO warnings, right? )

This is an equal opportunity problem; it occurs on Windows ( ActivePerl ),
Cygwin, Linux.

All tests with current perl 5.8.7.

Aloha => Beau;
[EMAIL PROTECTED]
2005-10-13


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to