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

Re: Hashes from files. Unable to access values. Please, please help.

2010-11-23 Thread addie
> Where did $var come from? Sorry about that. That was a left over from the actual code that I tried to pare down to be a small example. Messed that up as badly as the copy/paste of the code made it really very ugly. Addie -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org

Hashes from files. Unable to access values. Please, please help.

2010-11-21 Thread addie
I have been fighting with this problem for over a week now he really aggravating thing is that I had it working for over a year without problem. have tried everything I can imagine. I've cut the code down to a toy version to isolate the problem and it is no help. For the sake of this issue let's s