Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^2: Simple Module Tutorial (DEFAULT)

by tye (Sage)
on Aug 14, 2008 at 15:41 UTC ( #704374=note: print w/ replies, xml ) Need Help??

in reply to Re: Simple Module Tutorial
in thread Simple Module Tutorial

Is the OP saying that the line as is in the code is incorrect, because the "special" nature of DEFAULT overrides it with something else?

Yes. wants :DEFAULT to match @EXPORT so the module is incorrect in trying to define its own meaning for :DEFAULT. Based on what you've quoted, it appears that forces this issue, but the more important point is that you shouldn't set $EXPORT_TAGS{DEFAULT} yourself.

- tye        

Comment on Re^2: Simple Module Tutorial (DEFAULT)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2015-11-29 16:27 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (751 votes), past polls