vinoth.ree has asked for the wisdom of the Perl Monks concerning the following question:

Its me only, I asked this question without login

What is the difference between import and export_to_level functions ?

  • Comment on Difference between import and export_to_level

Replies are listed 'Best First'.
Re: Difference between import and export_to_level
by ww (Archbishop) on Feb 26, 2009 at 04:44 UTC

    Suggest you read the tutorials recommended in reply to your last question (posted 59 minutes ago.

    To reiterate, Tutorials.

Re: Difference between import and export_to_level
by Anonymous Monk on Feb 26, 2009 at 11:00 UTC
Re: Difference between import and export_to_level
by boom (Scribe) on Feb 26, 2009 at 05:57 UTC

    The Exporter defines a method called export_to_level, used for situations where you can not directly call Exporter's import method.

    If you have defined a import method which prevents the Exporter's import method gets inheritance, So if you want to make your own import method to act as Exporter's import function you can include this export_to_level() function