I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2011-02-16 00:00:07.931942-08 by send2poppy
Perl files using a 'require' and followed by subroutine dont get covered
I have a file pattern like this

########################################

require "db/convert/convert_common.pl";
use strict;
use warnings;
use File::Temp qw/ tempfile tempdir /;
sub set_env
{
0 EMD_PERL_DEBUG("convert.set_env(): *** START ***");
0 &set_env_var($_[0], $_[1]);
0 EMD_PERL_DEBUG("convert.set_env(): *** END ***");
}
########################################

Once the require line is hit,there is zero coverage reported for the subsequent sub-routines. Any solutions to this problem?
Direct Responses: Write a response