From: "Brian Ling" <[EMAIL PROTECTED]> > Is it possible to use the string value of a variable to create a new > hash i.e. > > My $name = "fred"; > > Can I use $name to create a hash called fred?
This is really a FAQ :-( Yes you can, but you don't want to. Please read Why it's stupid to `use a variable as a variable name' http://www.plover.com/~mjd/perl/varvarname.html Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]