Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created November 27, 2019 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/3eaadc506c799f1b3aafe4e9cc870397 to your computer and use it in GitHub Desktop.
Save Whateverable/3eaadc506c799f1b3aafe4e9cc870397 to your computer and use it in GitHub Desktop.
greppable6
will leave
File Code
CTILMES/DB-MySQL
…/README.md :164:
my $sth will leave { .finish } = $mysql.db.prepare('insert into foo (x,y) values (?,?)');
CTILMES/DB-MySQL
…/06-willfinish.t6 :11:
isa-ok my $db will leave { .finish } = $m.db,
CTILMES/DB-MySQL
…/06-willfinish.t6 :19:
isa-ok my $sth will leave { .finish } = $m.db.prepare('select ?'),
CTILMES/DB-SQLite
…/README.md :136:
my $sth will leave { .finish } = $s.db.prepare('insert into foo (x,y) values (?,?)');
CTILMES/LibCurl
…/Easy.pod6 :123:
my $curl will leave { .cleanup } = LibCurl::Easy.new;
CTILMES/LibCurl
…/LibCurl::Easy.md :108:
my $curl will leave { .cleanup } = LibCurl::Easy.new;
CTILMES/LibCurl
…/test0009.t :10:
my $datafile will leave { unlink $_ } = "test9.txt";
CTILMES/LibCurl
…/test0010.t :10:
my $putfile will leave { unlink $_ } = "test10.txt";
CTILMES/LibCurl
…/test0031.t :10:
my $cookiejar will leave { unlink $_ } = "cookiejar";
CTILMES/LibCurl
…/test0033.t :10:
my $testfile will leave { unlink $_ } = 'test33.txt';
CTILMES/LibCurl
…/test0046.t :10:
my $injar will leave { unlink $_ } = 'injar46';
CTILMES/LibCurl
…/test0046.t :11:
my $outjar will leave { unlink $_ } = 'jar46';
CTILMES/LibCurl
…/test0057.t :10:
my $outfile will leave { unlink $_ } = 'out57';
CTILMES/LibCurl
…/test0058.t :10:
my $infile will leave { unlink $_ } = '58te[]st.txt';
CTILMES/LibCurl
…/test0061.t :10:
my $outjar will leave { unlink $_ } = 'jar61.txt';
CTILMES/LibCurl
…/test0062.t :10:
my $injar will leave { unlink $_ } = 'jar62.txt';
CTILMES/LibCurl
…/test0073.t :10:
my $outjar will leave { unlink $_ } = 'jar73.txt';
CTILMES/LibCurl
…/test0088.t :10:
my $put88 will leave { unlink $_ } = 'put88';
HANENKAMP/Cofra
…/PathRouter.pm6 :145:
don't know what will happen with this. It feels a little iffy that I will leave
UFOBAT/Bailador
…/11-error-templates.t :10:
my $not-found-template will leave { .unlink } = $?FILE.IO.parent.child('views').child('404.xx');
UFOBAT/Bailador
…/11-error-templates.t :11:
my $error-template will leave { .unlink } = $?FILE.IO.parent.child('views').child('500.xx');
Bailador/Bailador
…/11-error-templates.t :10:
my $not-found-template will leave { .unlink } = $?FILE.IO.parent.child('views').child('404.xx');
Bailador/Bailador
…/11-error-templates.t :11:
my $error-template will leave { .unlink } = $?FILE.IO.parent.child('views').child('500.xx');
CurtTilmes/perl6-dbi-async
…/README.md :101:
If you do want to use, e.g. .allrows() to process your results, the LEAVE phaser or corresponding 'will leave' trait, can help assure that the .finish() gets called, even if the processing code throws an exception.
CurtTilmes/perl6-dbi-async
…/README.md :116:
my $res will leave { .finish } = $db.query(blah blah);
CurtTilmes/perl6-dbi-async
…/will.pl :8:
my $res will leave { .finish } = $db.query("select version()");
CurtTilmes/perl6-dbi-async
…/Async.pm :269:
LEAVE phaser or corresponding 'will leave' trait, can help assure that
CurtTilmes/perl6-dbi-async
…/Async.pm :286:
my $res will leave { .finish } = $db.query(blah blah);
CurtTilmes/perl6-eredis
…/04-basic.t :10:
my $redis will leave { .finish } = Test::Redis.new(:$port);
CurtTilmes/perl6-eredis
…/05-expires.t :10:
my $redis will leave { .finish } = Test::Redis.new(:$port);
CurtTilmes/perl6-eredis
…/06-async.t :10:
my $redis will leave { .finish } = Test::Redis.new(:$port);
CurtTilmes/perl6-eredis
…/08-bitops.t :10:
my $redis will leave { .finish } = Test::Redis.new(:$port);
CurtTilmes/perl6-eredis
…/09-counters.t :10:
my $redis will leave { .finish } = Test::Redis.new(:$port);
CurtTilmes/perl6-eredis
…/10-lists.t :10:
my $redis will leave { .finish } = Test::Redis.new(:$port);
CurtTilmes/perl6-eredis
…/11-info.t :10:
my $redis will leave { .finish } = Test::Redis.new(:$port);
CurtTilmes/perl6-eredis
…/12-hashes.t :10:
my $redis will leave { .finish } = Test::Redis.new(:$port);
CurtTilmes/perl6-eredis
…/13-sets.t :10:
my $redis will leave { .finish } = Test::Redis.new(:$port);
CurtTilmes/perl6-eredis
…/15-scan.t :10:
my $redis will leave { .finish } = Test::Redis.new(:$port);
CurtTilmes/perl6-eredis
…/16-blocking.t :10:
my $redis will leave { .finish } = Test::Redis.new(:$port);
CurtTilmes/perl6-eredis
…/17-pubsub.t :10:
my $redis will leave { .finish } = Test::Redis.new(:$port);
CurtTilmes/perl6-eredis
…/18-dumprestore.t :10:
my $redis will leave { .finish } = Test::Redis.new(:$port);
CurtTilmes/perl6-eredis
…/19-associative.t :10:
my $redis will leave { .finish } = Test::Redis.new(:$port);
CurtTilmes/perl6-eredis
…/20-list.t :11:
my $redis-server will leave { .finish } = Test::Redis.new(:$port);
CurtTilmes/perl6-eredis
…/21-hash.t :11:
my $redis-server will leave { .finish } = Test::Redis.new(:$port);
CurtTilmes/perl6-libcurl
…/Easy.pod6 :123:
my $curl will leave { .cleanup } = LibCurl::Easy.new;
CurtTilmes/perl6-libcurl
…/LibCurl::Easy.md :108:
my $curl will leave { .cleanup } = LibCurl::Easy.new;
CurtTilmes/perl6-libcurl
…/test0009.t :10:
my $datafile will leave { unlink $_ } = "test9.txt";
CurtTilmes/perl6-libcurl
…/test0010.t :10:
my $putfile will leave { unlink $_ } = "test10.txt";
CurtTilmes/perl6-libcurl
…/test0031.t :10:
my $cookiejar will leave { unlink $_ } = "cookiejar";
CurtTilmes/perl6-libcurl
…/test0033.t :10:
my $testfile will leave { unlink $_ } = 'test33.txt';
CurtTilmes/perl6-libcurl
…/test0046.t :10:
my $injar will leave { unlink $_ } = 'injar46';
CurtTilmes/perl6-libcurl
…/test0046.t :11:
my $outjar will leave { unlink $_ } = 'jar46';
CurtTilmes/perl6-libcurl
…/test0057.t :10:
my $outfile will leave { unlink $_ } = 'out57';
CurtTilmes/perl6-libcurl
…/test0058.t :10:
my $infile will leave { unlink $_ } = '58te[]st.txt';
CurtTilmes/perl6-libcurl
…/test0061.t :10:
my $outjar will leave { unlink $_ } = 'jar61.txt';
CurtTilmes/perl6-libcurl
…/test0062.t :10:
my $injar will leave { unlink $_ } = 'jar62.txt';
CurtTilmes/perl6-libcurl
…/test0073.t :10:
my $outjar will leave { unlink $_ } = 'jar73.txt';
CurtTilmes/perl6-libcurl
…/test0088.t :10:
my $put88 will leave { unlink $_ } = 'put88';
bduggan/p6-jupyter-kernel
…/06-magic.t :176:
my $file will leave {.unlink} = $*TMPDIR.child("test.$*PID");
bduggan/p6-jupyter-kernel
…/06-magic.t :194:
my $file will leave {.unlink} = $*TMPDIR.child("test.$*PID");
bduggan/p6-log-async
…/10-formatter.t :20:
my $output will leave { .unlink } = tempfile;
bduggan/p6-log-async
…/10-formatter.t :32:
my $output will leave { .unlink } = tempfile;
bduggan/p6-log-async
…/10-formatter.t :44:
my $output will leave { .unlink } = tempfile;
bduggan/p6-log-async
…/10-formatter.t :55:
my $output will leave { .unlink } = tempfile;
bduggan/p6-log-async
…/10-formatter.t :70:
my $output will leave { .unlink } = tempfile;
perl6/doc
…/io-guide.pod6 :211:
L«C<will leave> trait|/language/phasers#index-entry-will_trait», or the
perl6/doc
…/Handle.pod6 :344:
my $fh will leave {.close} = .open;
perl6/doc
…/Handle.pod6 :894:
my $fh will leave {.close} = .open; # can also set .nl-in via .open arg
scovit/Scheduler-DRMAA
…/synchronize-task.pl6 :32:
my $args will leave { .free for .Seq } = CArray[CBuffer].new(CBuffer.new("5"), (CBuffer));
scovit/Scheduler-DRMAA
…/synchronize-task.pl6 :50:
my $jobid will leave { .free } = CBuffer.new(DRMAA_JOBNAME_BUFFER);
scovit/Scheduler-DRMAA
…/synchronize-task.pl6 :51:
my $jobids will leave { .free for .Seq } = CArray[CBuffer].new(DRMAA_JOB_IDS_SESSION_ALL, (CBuffer));
scovit/Scheduler-DRMAA
…/wait-task.pl6 :32:
my $args will leave { .free for .Seq } = CArray[CBuffer].new(CBuffer.new("5"), (CBuffer));
scovit/Scheduler-DRMAA
…/wait-task.pl6 :53:
my $jobid will leave { .free } = CBuffer.new(DRMAA_JOBNAME_BUFFER);
scovit/Scheduler-DRMAA
…/wait-task.pl6 :54:
my $jobids will leave { .free for .Seq } = CArray[CBuffer].new(DRMAA_JOB_IDS_SESSION_ALL, (CBuffer));
scovit/Scheduler-DRMAA
…/wait-task.pl6 :81:
my $usage will leave {.free} = CBuffer.new(DRMAA_ERROR_STRING_BUFFER);
scovit/Scheduler-DRMAA
…/wait-task.pl6 :106:
my $termsig will leave {.free} = CBuffer.new(DRMAA_SIGNAL_BUFFER + 1);
scovit/Scheduler-DRMAA
…/wait.pl6 :32:
my $args will leave { .free for .Seq } = CArray[CBuffer].new(CBuffer.new("5"), (CBuffer));
scovit/Scheduler-DRMAA
…/wait.pl6 :42:
my $jobid will leave { .free } = CBuffer.new(DRMAA_JOBNAME_BUFFER);
scovit/Scheduler-DRMAA
…/wait.pl6 :43:
my $jobid_out will leave { .free } = CBuffer.new(DRMAA_JOBNAME_BUFFER);
scovit/Scheduler-DRMAA
…/wait.pl6 :64:
my $usage will leave { .free } = CBuffer.new(DRMAA_ERROR_STRING_BUFFER);
scovit/Scheduler-DRMAA
…/wait.pl6 :89:
my $termsig will leave { .free } = CBuffer.new((DRMAA_SIGNAL_BUFFER+1));
supernovus/perl6-timezone
…/asia :1524:
# to mean that they will leave their clocks at 6 hours ahead of UTC.
tony-o/perl6-http-server-threaded
…/README.md :41:
If the server runs out of handlers or a handler not explicitly closing the connection and also returning False will leave the connection open.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment