in reply to possible newbie question

1: Use a descriptive title so that others in the same quandry can refer to your msg by title and find it 2: I really dont know what you are saying, but this may work
$path{megatron}{ftp}='/path/1'; $path{otherron}{http}='/path/2'; $server = shift && $service = shift || die "must input server and service"; $variable_name = "${server}_${service}_path"; $$variable_name = $path{$server}{$service};

Replies are listed 'Best First'.
RE: Re: possible newbie question
by Anonymous Monk on May 19, 2000 at 04:16 UTC
    thanks

    i guess i got so hung up on the first way i tried to do it i forgot about hash arrays
    : )