hi Monks ,Am trying to run system command which takes input from the user
#!/usr/bin/perl use strict; print "Enter the Rast Username\n"; my $username = <>; print "Enter the Rast Password\n"; my $Password = <>; print "Enter the fasta file Name\n"; my $fasta = <>; print "Enter the Domain Name\n"; my $domain= <>; print "Enter Genetic_Code\n"; my $Genetic_code = <> ; system (qq("svr_submit_RAST_job --user "$username" --passwd "$Password +" --fasta "$fasta" --domain "$domain" --genetic_code "$Genetic_code") +);
if same job submitted as following, it works
system("svr_submit_RAST_job --user "=xxxxxx --passwd ******** --fasta seq.fasta --domain bacteria --genetic_code 11)it works , why iam unable make with $xxxxx script please help me in solving this problem
In reply to Perl calling Linux commands by MVRS
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |