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
before render | |
Use of uninitialized value $data_out in concatenation (.) or string at ../lib/NoticeBackend/Author.pm line 34. | |
after render | |
Value of ' users ' is Meettya |
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
#!/usr/bin/env perl | |
use v5.14; | |
use warnings; | |
use AnyEvent::CouchDB; | |
use Data::Dump 'pp'; | |
my $couch = couch('http://localhost:5984/'); | |
my $db = couchdb('open_notice'); |
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
set background=dark | |
hi clear | |
if exists("syntax_on") | |
syntax reset | |
endif | |
let colors_name = "kraihlight" |
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
#!/usr/bin/env perl | |
use v5.14; | |
use warnings; | |
# develop mode | |
use Smart::Comments; | |
use Data::Printer; | |
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
my @where = ( | |
-and => [a => 1, b => 2], | |
-or => [c => 3, d => 4], | |
e => [-and => {-like => 'foo%'}, {-like => '%bar'} ] | |
); |
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
WHERE ( ( ( a = ? AND b = ? ) | |
OR ( c = ? OR d = ? ) | |
OR ( e LIKE ? AND e LIKE ? ) ) ) |
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
#!/usr/bin/env perl | |
use v5.14; | |
use warnings; | |
# develop mode | |
use Smart::Comments; | |
use Data::Printer; | |
use SQL::Interp ':all'; |
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
"UPDATE table SET login=?, password=?, user=? WHERE y <> ? AND z IN (?, ?, ?)" | |
[ | |
[0] "foo", | |
[1] 12345, | |
[2] "Bar Bazz", | |
[3] 26, | |
[4] 3, | |
[5] 4, | |
[6] 5 | |
] |
OlderNewer