MVRS has asked for the wisdom of the Perl Monks concerning the following question:
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl calling Linux commands
by tobyink (Canon) on Mar 08, 2013 at 10:17 UTC | |
|
Re: Perl calling Linux commands
by marto (Cardinal) on Mar 08, 2013 at 10:17 UTC | |
|
Re: Perl calling Linux commands
by tmharish (Friar) on Mar 08, 2013 at 11:06 UTC | |
by tmharish (Friar) on Mar 08, 2013 at 13:50 UTC | |
|
Re: Perl calling Linux commands
by vinoth.ree (Monsignor) on Mar 08, 2013 at 11:07 UTC | |
by Anonymous Monk on Mar 09, 2013 at 01:20 UTC | |
|
Re: Perl calling Linux commands
by Anonymous Monk on Mar 09, 2013 at 01:26 UTC |