On 1/31/07, Shmuel Fomberg <[EMAIL PROTECTED]> wrote:
> Can I make one package an alias of another?
> I want that all the variables and subs called through package A will be
> actually answered by package B.
> Something like: *A:: = *B::
> Can I?

It is more like this:

*A:: = \*B::

or you can use CPAN modules like Package::Alias:

use Package::Alias A => 'B';

There are others, but I cannot find them right now.

Adriano Ferreira.
_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl

Reply via email to