Jerry -- ...and then Jerry Preston said... % % Hi!
Hello!
%
% I am not sure on how to do this, but I am sure if there is a way, Perl can
% do it!
%
% %T_MODLUES = (
% A1 => [ qw/ A B C D E F/ ],
% A2 => [ qw/ A B C D E F/ ],
% A3 => [ qw/ A B C D E F/ ],
% N => [ qw/ A1 A2 A3/],
% );
%
% I have a hash that looks like the above. I want to have A1, A2 and A3 all
% point to [ qw/ A B C D E F/ ] with out having to but in separately for A1,
You mean hold the same data on the value side, right (and not an actual
reference pointer to the same location in memory or some such)? OK.
% A2 and A3 . The hash it's current configuration is a monster. I am look
% for a simple way to manage it.
I can imagine so!
%
% Any ideas?
What about something like
$a = qw/ A B C D E F/;
%T_MODULES =
(
A1 => [ $a ],
A2 => [ $a ],
A3 => [ $a ],
N => [ qw/ A1 A2 A3/ ],
);
or so?
%
% Thanks,
HTH & HAND
%
% Jerry
%
:-D
--
David T-G * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
msg25573/pgp00000.pgp
Description: PGP signature
