This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub sql_pp { | |
my $ref = shift; | |
use SQL::Beautify; | |
use Scalar::Util qw(looks_like_number blessed); | |
my ($sql, @param); | |
if(blessed($ref) && $ref->can('as_query')){ | |
($sql, @param) = @{${$ref->as_query}}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am psandin on github. | |
* I am psandin (https://keybase.io/psandin) on keybase. | |
* I have a public key whose fingerprint is 021A D8E4 33FC 8DEE D39F 4B83 6094 A8EF DA37 AD94 | |
To claim this, I am signing this object: |