Paul and Paul,
Thank you very much !
I heard that OO module usually doesn't export anything,
but I just wanted the difference between use and use base.
Now almost everything is clear for me !
Just one thing, this code seems to work.
On Jul 18, 1:20 am, [EMAIL PROTECTED] (Jack Minoshima) wrote:
Hi.
Please allow me to ask another silly question.
I wrote the program and it works fine.
Animal.pm
package Animal;
use Exporter;
@ISA = qw(Exporter);
On Wed, Jul 18, 2007 at 02:20:15PM +0900, Jack Minoshima wrote:
Hi.
Please allow me to ask another silly question.
I wrote the program and it works fine.
Animal.pm
package Animal;
use Exporter;
@ISA = qw(Exporter);
Hi.
Please allow me to ask another silly question.
I wrote the program and it works fine.
Animal.pm
package Animal;
use Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(speak);
sub speak {
print I speak!\n;
}
1;