Hi,

  I am trying to use a perl script like the following :

main.pl:
  require "abc.pl";
  print "In parent script\n";

abc.pl:
print "In abc.pl script\n";

  I have some perl options set in PERL5OPT, which work fine for main.pl but not 
for abc.pl. This is how my Perl5OPT looks:

    PERL5OPT="-I<lib_path_to_Devel::Cover> 
-MDevel::Cover=-db,cover_db,+ignore,.*5\.10\.0.*,-merge,on,-coverage,statement,-silent,on"

I have compared the output of perl -V($^X -V) in both these cases, and they are 
exactly identical. I am not sure what is missing here.

I don't have a control over changing the "require" to "use", as it is prodduct 
code written by someone else, and I am only trying to run them with
the PERL5OPT set by me.

Really appreciate any help in this regard.

Thanks & Regards,
Vaishnavi.


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to