Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: exports -- which module exports are used? (XML::Tidy)

by tye (Cardinal)
on Sep 16, 2013 at 18:39 UTC ( #1054325=note: print w/ replies, xml ) Need Help??


in reply to Re: exports -- which module exports are used?
in thread exports -- which module exports are used?

I assumed $mod->VERSION() was well behaved and hoped it would handle some weird new practices that don't appear to set $Module::Name::VERSION. But it not coping doesn't really surprise me. I'll use it and detect failure and fall back to just copying the $VERSION global.

Though I don't see how this problem could be to blame for your "Not used?" result. As I mentioned above, that line only means "No exports used". If your code doesn't mention any of the *_NODE constants(?) that XML::Tidy exports, then that is the expected / desired result (and the recommended empty parens in "use XML::Tidy();" are recommended to document that no exports are being used).

- tye        


Comment on Re^2: exports -- which module exports are used? (XML::Tidy)
Download Code
Replies are listed 'Best First'.
Re^3: exports -- which module exports are used? (XML::Tidy)
by toolic (Bishop) on Sep 16, 2013 at 18:55 UTC
    I just use the canned bin/xmltidy script that comes packaged with the module, and it does not use any of those constants. Thanks for the clarification.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (16)
As of 2015-07-28 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (257 votes), past polls