my $dbpass=qx{ password_decode \$(grep "name=\\"db\\"" /opt/SecureSphere/etc/bootstrap.xml|cut -d\\" -f4) }; #### my $cmd = q{ password_decode $(grep "name=\"db\"" /opt/SecureSphere/etc/bootstrap.xml|cut -d\" -f4) }; my $dbpass = qx{ $cmd }; #### password_decode 999 101 104 814 999 1035 1070grep "name="db"" /opt/SecureSphere/etc/bootstrap.xml|cut -d" -f4)