in reply to Re: How to create Nested packages?
in thread How to create Nested packages?

And how can i call the subroutines present in package PA from package PB without using &PA::A()?
Is there any other option than &PA::A()?

Replies are listed 'Best First'.
Re^3: How to create Nested packages?
by Corion (Patriarch) on Jan 11, 2008 at 11:37 UTC

    See Perl's documentation, perlmod, for knowledge on modules and packages. Basically, you will want to export subroutines from one package into the namespace of other packages. See Exporter for the canonical solution.

Re^3: How to create Nested packages?
by memnoch (Scribe) on Jan 11, 2008 at 14:14 UTC