On Tue, Oct 12, 2004 at 02:20:19PM +0530, Padubidri Nagaraja Rao, Guruprasad
(Guruprasad)** CTR ** wrote:
> Thanks for the solution. However, i get the following error
> when i execute 'perl cover -report text -ignore_re File/Copy'.
>
>
> stat(-ignore_re): No such file or directory at
> /temp/d
ds,
Guru Prasad
-Original Message-
From: Paul Johnson [mailto:[EMAIL PROTECTED]
Sent: Monday, October 11, 2004 6:58 PM
To: Padubidri Nagaraja Rao, Guruprasad (Guruprasad)** CTR **
Cc: '[EMAIL PROTECTED]'
Subject: Re: Branch coverage issue in Devel::Cover
On Mon, Oct 11, 2004 at 06
On Mon, Oct 11, 2004 at 06:09:04PM +0530, Padubidri Nagaraja Rao, Guruprasad
(Guruprasad)** CTR ** wrote:
> Hi,
>
> I am not able to get branch coverage for the following piece of code.
>
>
> #!/usr/bin/perl
>
> use File::Copy;
>
> if (move("junk", "junk1"))
> {
> print "file moved\n";
> }
Hi,
I am not able to get branch coverage for the following piece of code.
#!/usr/bin/perl
use File::Copy;
if (move("junk", "junk1"))
{
print "file moved\n";
}
else
{
print "file not moved - $!\n";
}
Environment :
Solaris 9
Perl 5.6.1
Devel-Cover-0.47
When i run 'cover', Statement cove