On Mon, May 29, 2006 at 03:31:19PM -0700, Scott Wang wrote:

> "-MDevel::Cover=+ignore,\\.pt$ ..." really helps!
> 
> If I want to use Devel::Cover module in my code and
> not from commandline, say I would like to use "use
> Devel::Cover;" in code, what I should add after "use
> Devel::Cover" to make it works as
> "-MDevel::Cover=+ignore,\\.pt$ ...".

I think that "use Devel::Cover qw( +ignore .pt$ );" should do that.

See -M in perldoc perlrun.

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net

Reply via email to