Subject: | Error when running under Devel::Cover |
When running my regression test under Devel::Cover I run into a problem
with Readonly. I have boiled it dowm to a small test script:
Show quoted text
> perl --version
This is perl, v5.8.0 built for i686-linux
...
Show quoted text > perl readonly_devel_cover.pl
asdf
Show quoted text > perl -MDevel::Cover readonly_devel_cover.pl
Devel::Cover 0.55: Collecting coverage data for branch, condition,
pod, statement, subroutine and time.
Selecting packages matching:
Ignoring packages matching:
/Devel/Cover[./]
Ignoring packages in:
.
/mnt/MP1/BioInformatics/soft/perl5.8.0/lib/5.8.0
/mnt/MP1/BioInformatics/soft/perl5.8.0/lib/5.8.0/i686-linux
/mnt/MP1/BioInformatics/soft/perl5.8.0/lib/site_perl
/mnt/MP1/BioInformatics/soft/perl5.8.0/lib/site_perl/5.8.0
/mnt/MP1/BioInformatics/soft/perl5.8.0/lib/site_perl/5.8.0/i686-linux
Invalid tie at (eval
22)[/BioInformatics/soft/perl/lib/site_perl/5.8.0/Readonly.pm:338] line 9
Devel::Cover: Can't find file "blib/lib/Storable.pm": ignored.
Devel::Cover: Writing coverage database to
/mnt/MP1/BioInformatics/BPSDEVEL/cvs/products/ReqALLer2/ReqALLer.v2_2/runtime/cover_db/runs/1144231362.28647.57188
---------------------------- ------ ------ ------ ------ ------ ------
------
File stmt bran cond sub pod time
total
---------------------------- ------ ------ ------ ------ ------ ------
------
readonly_devel_cover.pl n/a n/a n/a n/a n/a n/a
n/a
Total n/a n/a n/a n/a n/a n/a
n/a
---------------------------- ------ ------ ------ ------ ------ ------
------
For now I have commented out my constants in my test scripts,
but it would be nice to be able to use Readonly and Devel::Cover.
Regards,
Bernhard