Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: processing PSQL with system commandby Fletch (Bishop) |
on Mar 30, 2022 at 14:52 UTC ( [id://11142547]=note: print w/replies, xml ) | Need Help?? |
Maybe slightly long in the tooth, but Yes, even you can use CPAN Edit: That being said, if you're dead set on taking the hard route you'd be better served writing the SQL into a file and then telling psql to run that SQL script instead of trying using -c and outguessing how n layers of arbitrary quoting are going to be pulled (or not pulled) apart by however many levels of interpreting.
The cake is a lie.
In Section
Seekers of Perl Wisdom
|
|