PERL BEGINNERS 11 RE QUICK EXPORT QUESTION
Subject: RE: Quick export question
Date: Thu, 7 Aug 2003 16:54:34 -0500

From: dmuey@no-spam (Dan Muey)

> I'm wanting to setup a module that will export whatever is in=20
> @no-spam (if anythign) and ':basic'
>=20
> IE I want=20
> use Monkey;
> To be identical to=20
> use Monkey qw(:basic);
>=20
> So if I have this on the module which of 3 ways I'm trying to=20
> accoomplish that are valid (if any)?
>=20
> %EXPORT_TAGS =3D {
> ':basic' =3D> [qw(fred wilma barney dino)],
> };

Sorry about the mess there, Let me fix it:

$EXPORT_TAGS{':DEFAULT'} =3D $EXPORT_TAGS{':basic'};

Or=20

$EXPORT_TAGS{':DEFAULT'} .=3D $EXPORT_TAGS{':basic'};=20

Or=20

$EXPORT_TAGS{':DEFAULT'} =3D > ($EXPORT_TAGS{':basic'},@no-spam
There that's more readable!

>=20
> TIA >=20
> Dan >=20
> --=20
> To unsubscribe, e-mail: beginners-unsubscribe@no-spam > For additional commands, e-mail: beginners-help@no-spam >=20
>=20