>>>>> "WilliamGunther" == WilliamGunther <[EMAIL PROTECTED]> writes:
WilliamGunther> In a message dated 1/17/2003 6:04:41 PM Eastern Standard Time,
WilliamGunther> [EMAIL PROTECTED] writes:
>> Is it possible to name a variable as the numeric value of a scalar?
WilliamGunther> Well, all scalar variables you create must start with a letter. But,
if
WilliamGunther> you're talking about something like this:
WilliamGunther> $var = "hello";
WilliamGunther> ${$var} = 1;
WilliamGunther> print $hello;
WilliamGunther> You can do it.
But you shouldn't. Ever. And "use strict" rightfully keeps you from
doing so.
--
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]