Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
storing queries in an array and executeby kaka_2 (Sexton) |
on Nov 25, 2016 at 09:23 UTC ( [id://1176528]=perlquestion: print w/replies, xml ) | Need Help?? |
kaka_2 has asked for the wisdom of the Perl Monks concerning the following question: I am preparing a script using which i would like to execute mysql query. I am already having access to local node so I can use mysql –e “Query” DBNAME. What I am trying to do is following.
but when executing I get error. sh: -c: line 0: syntax error near unexpected token `SCALAR' sh: -c: line 0: `Dumper(SCALAR(0x307ef60))' sh: -c: line 0: syntax error near unexpected token `SCALAR' sh: -c: line 0: `Dumper(SCALAR(0x307ef70))' Could someone help me in fixing it?
Back to
Seekers of Perl Wisdom
|
|