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