Skip to content

Instantly share code, notes, and snippets.

@niczero
Last active December 27, 2015 16:29
Show Gist options
  • Save niczero/7355157 to your computer and use it in GitHub Desktop.
Save niczero/7355157 to your computer and use it in GitHub Desktop.
Select database values from the commandline
perl -MMojar::Mysql::Connector=cnfdir,data,cnf,tester_localhost,-dbh,1
-E'say join q{, }, main->dbh->selectrow_array(q{SELECT 1,2,3})'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment