Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Use of uninitialized variables?

by Zadeh (Beadle)
on Jun 11, 2008 at 21:30 UTC ( [id://691547]=note: print w/replies, xml ) Need Help??


in reply to Re: Use of uninitialized variables?
in thread Use of uninitialized variables?

Hadn't thought of this point -- finding dead code. I think there's gotta be a better way for finding that info though. Next question that pops into my head is if I could write a unit test, run it and get coverage info -- which would also provide enough info to deduce where dead/unused code was.

Replies are listed 'Best First'.
Re^3: Use of uninitialized variables?
by Herkum (Parson) on Jun 12, 2008 at 14:27 UTC

    You should take a look at Devel::Cover then. I have used it for unit testing and I found it fairly useful.

    I have not used it for program execution but it looks like it supports it. The only reason I thought of for not using it are that you cannot execute all branches of your code by running a program. Maybe it has a way of dealing with it but I am not sure, someone else may have the answer.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://691547]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-26 05:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found