How to resolve variables in Perl -
i need resolving following variable ${$mapusers[$index]->[1]}
see below... prints find. when system($query_user) variable empty.
my $query_user = 'adquery user -w ${$mapusers[$index]->[1]}';
if want run adquery
command , store output in $query_user
, use backticks or qx
:
my $query_user = `adquery user -w ${$mapusers[$index]->[1]}`;
Comments
Post a Comment