Subject: | Smart::Comments fail when testing output |
For your consideration,
use Test::Most;
use Test::Output;
use Smart::Comments '###';
stdout_is( sub{
print "Hello World\n";
### Goodby World ...
}, "Hello World\n", 'Test Hello World' );
done_testing();
causes the following error;
Can't locate object method "TELL" via package "Test::Output::Tie" at
C:/Perl/site/lib/Smart/Comments.pm line 438.
System - Windows XP
running - perl 5.10
Best Regards,
Jed