>>>>> "Ronald" == Ronald Yacketta <[EMAIL PROTECTED]> writes:

Ronald> my
Ronald> ($g_all_cl,$g_p5_cl,$g_p299_cl,$g_imp143_cl,$g_imp5_cl,$g_imp_14_cl,$g_val_c
Ronald> l,
Ronald> $g_all_cl_think,$g_p5_cl_think,$g_p299_cl_think,$g_imp143_cl_think,$g_imp5_c
Ronald> l_think,
Ronald> $g_imp_14_cl_think,$g_val_cl_think,$g_all_cl_stagger,$g_p5_cl_stagger,
Ronald> $g_p299_cl_stagger,$g_imp143_cl_stagger,$g_imp5_cl_stagger,$g_imp_14_cl_stag
Ronald> ger,
Ronald> $g_val_cl_stagger,$g_all_fast,$g_imp1_5_fast,$g_imp1_14_fast,$g_imp1_143_fas
Ronald> t,
Ronald> $g_pact_5_fast,$g_pact_299_fast,$g_valid_fast,$g_all_sleepy,$g_imp1_5_sleepy
Ronald> ,
Ronald> $g_imp1_14_sleepy,$g_imp1_143_sleepy,$g_pact_5_sleepy,$g_pact_299_sleepy,$g_
Ronald> valid_sleepy,
Ronald> $acf2_file );

Ewww!  My eyes hurt even looking at this.  You cannot expect any maintenance
programmer to not mess up on this horribly.  And of course, the worst was
yet to come:

Ronald>                         $$variable = $value;

Yes.  Wrong.  So Wrong.  If the answer is "create a variable
name based on the contents of another variable", you've asked the
wrong question.   Please back up.  Start over.

Create a hash with these values.  Don't create 150 separate variables!

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to