in reply to Creating a new variable named the contents of another
#Untested.. my %foo = ( IP => "2.3.4.5" ,USER => "Someone" ,PASSWORD => "Bad Idea" , .. etc ... ); my $returned = $foo{$ARGV[0]}; print .. etc ..
Earth first! (We'll rob the other planets later)
|
|---|