in reply to Re: setting hash keys by array
in thread setting hash keys by array

This is probably not a great way to do it... not only is it inefficient and open to syntax errors (i.e. a key of ';}' would be bad), but if this was something that used user input it could be a security hole... ( @ary = '},`rm -rf /`,{' )

eval is usually best used as a last resort and for exception handling (though this is usually with existing written code)

                - Ant
                - Some of my best work - (1 2 3)