Sunday 21 November 2010

@ISA, @EXPORT , @EXPORT_OK

@ISA -> each package has its own @ISA array. this array keep track of classes it is inheriting.

ex:

package child;

@ISA ( parentclass);

@EXPORT this array stores the subroutins to be exported from a module.

@EXPORT_OK this array stores the subroutins to be exported only on request.

No comments:

Post a Comment

Tweets by @sriramperumalla