Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Issue with Exporter

by palette (Scribe)
on Jan 11, 2007 at 13:35 UTC ( [id://594148]=note: print w/replies, xml ) Need Help??


in reply to Re: Issue with Exporter
in thread Issue with Exporter

It works. Thankyou. I shud adhere to the rules of being strict and use warnings.

I would like to know why it is not working with use and working with require. Anyway use is require and import together right.

Thanks

Replies are listed 'Best First'.
Re^3: Issue with Exporter
by ferreira (Chaplain) on Jan 11, 2007 at 13:39 UTC

    It works for me with use Exporter; instead of require Exporter;. The point is that use'ing is not necessary when what you want is to inherit from Exporter in package one.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-19 02:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found