>>>>> "Kelly" == Kelly Jones <[EMAIL PROTECTED]> writes:
Kelly> Inside a subroutine, I want to use this hash: Kelly> %hash = ("apple" => "red", "pear" => "green", "[EMAIL PROTECTED]" => "yellow"); Kelly> to set my($apple)="red", my($pear)="green", my($lemon)="yellow" Kelly> [getting rid of the junk '@' and '!' chars in the key] You really really *don't* want to do that. If PHP has a function to do that easily, no wonder there's so many security holes reported with PHP scripts. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <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] <http://learn.perl.org/> <http://learn.perl.org/first-response>