-
Notifications
You must be signed in to change notification settings - Fork 14
Humor
This page is dedicated to gather interesting and funny moments related to the bots.
<cuonglm> most standard unix tools will honor it
<cuonglm>echo 1 | grep 1 0<&-
<cuonglm> give you
<cuonglm> grep:(standard input): Bad file descriptor
<greppable6> cuonglm, Found nothing!
<cuonglm> greppable6:what do you mean?
<greppable6> cuonglm, https://gist.github.com/9c4b7bd93581c2ac71dc27b79a54687b
<Bowlslaw> does perl have a 'flag' reading function, like opt()? so if i call my script with a cmd line argument and a flag?
<yoleaux> 29 Mar 2018 23:03Z Bowlslaw: well, first$dbh.prepare("select price from $table")
is an unsafe statement. You need to quote $table properly. I don't use DBIish, but there should be some method to quote stuff (placeholders might work too). As for the sum,my $total = $sth.allrows».head.sum
<Bowlslaw> ???
<evalable6> Bowlslaw, rakudo-moar 20495f097: OUTPUT: «Stub code executed in block at /tmp/o68Dey4P6L line 1»
<Bowlslaw> ahh what's happening