Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re (2): Warnings for unused subs

by VSarkiss (Monsignor)
on Jul 25, 2002 at 15:51 UTC ( [id://185232]=note: print w/replies, xml ) Need Help??


in reply to Re: Warnings for unused subs
in thread Warnings for unused subs

You're right, there are many ways to break something like this, but I was just thinking of something for the common case: sub foo appears, but a call to foo(...) doesn't appear in the same package. That's what I was trying to say with "it doesn't have to be bulletproof".

I guess an analogy would be perltidy. It can be thrown off without trying very hard, but in the common cases it can be helpful.

Replies are listed 'Best First'.
Re: Warnings for unused subs
by Abigail-II (Bishop) on Jul 25, 2002 at 15:57 UTC
    Given that both OO modules and exporting modules are very common, the case of having sub foo appear in a package without a call to it is indeed common. It's also not an unused sub.

    Abigail

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-25 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found