http://qs321.pair.com?node_id=473917

murugu has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks!

While writing modules(with out OOP concepts) what is the need for

require Exporter; @ISA=("Exporter");

Why do we need to inherit Exporter in our current package?

Can we use "use Exporter" instead of both the lines above? Without "Import" how will be the symbols imported?

By writing the 2 lines above does the symbols present in the current package will be automagically exported to the program where we use this package? If so how?

Thanks in advance.

Regards,
Murugesan Kandasamy.