Greetings,

I have been struggling with this one for a while. How can I create a variable name composed of two or more variables? I suspect I have to I have to use a reference:

my $var1 = "part" ;
my $var2 = "2"    ;

my $compound = $var1_$var2 ;

Thanks,

Kevin


--
Kevin Viel
Department of Genetics                       [EMAIL PROTECTED]
Southwest Foundation for Biomedical Research phone:  (210)258-9884
P.O. Box 760549                              fax:    (210)258-9444
San Antonio, TX 78245-0549

Kevin Viel
PhD Candidate
Department of Epidemiology
Rollins School of Public Health
Emory University
Atlanta, GA 30322

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to