himesh has asked for the wisdom of the Perl Monks concerning the following question:
Hi ,
I have been using perl for some days and had a question in mind.How the EXPORT is useful in OO programming of perl,when I create a .pm file.
For Example :Is it require to export "new" function from student.pm to be included into sample.pl file.
sample.pl
student->new('swarup','26');
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: usage of EXPORT function
by 2teez (Vicar) on Sep 29, 2012 at 13:50 UTC | |
Re^2: usage of EXPORT function
by tobyink (Canon) on Sep 29, 2012 at 14:53 UTC |
Back to
Seekers of Perl Wisdom