Re: Passing a shell command

2011-08-08 Thread Jim Gibson
On 8/8/11 Mon Aug 8, 2011 9:30 AM, "addie" scribbled: > I am trying to query a MySQL database through a perl script but in a > way that emulates a command line call like: > > echo "select species,access,utr3 from pg,plant where geneID = 12 > and length(utr3) < 300 and pg.plantID = plant.plantI

Passing a shell command

2011-08-08 Thread addie
I am trying to query a MySQL database through a perl script but in a way that emulates a command line call like: echo "select species,access,utr3 from pg,plant where geneID = 12 and length(utr3) < 300 and pg.plantID = plant.plantID\n" | mysql - uUser -pPass Database_Name. #I know that this