Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created February 10, 2022 17:23
Show Gist options
  • Save Whateverable/be5f64bf1177fa6e89c7a00b8bb2455e to your computer and use it in GitHub Desktop.
Save Whateverable/be5f64bf1177fa6e89c7a00b8bb2455e to your computer and use it in GitHub Desktop.
greppable6
try\s+require
File Code
ALOREN/Canoe
…/Canoe.pm6 :132:
((try require ::($name)) === Nil) ?? Any !! ::($name)
ALOREN/Canoe
…/Canoe.pm6 :135:
installed => !((try require ::($name)) === Nil),
CHSANCH/Lingua-Stopwords
…/Stopwords.pm6 :9:
try require ::($module-name) <&get-list>;
ELIZABETH/Acme-Cow
…/cowsay :93:
try require ::($module);
FRITH/Math-FFT-Libfftw3
…/05-c2c.t :250:
if (try require Math::Matrix) !=== Nil {
FRITH/Math-FFT-Libfftw3
…/06-r2c.t :204:
if (try require Math::Matrix) !=== Nil {
FRITH/Math-FFT-Libfftw3
…/07-r2r.t :165:
if (try require Math::Matrix) !=== Nil {
JNTHN/cro
…/TemplateLocator.pm6 :33:
try require ::($_);
JSTOWE/Lumberjack-Application
…/JSON.pm :109:
my $class = (try require ::($v<name>));
JSTOWE/URI-FetchFile
…/FetchFile.pm :82:
$type = try require ::($class-name);
KAJI/App-Platform
…/Project.pm6 :108:
try require ::($class);
LEONT/TAP
…/TAP.pm :531:
has &colored = $!color && (try require Terminal::ANSIColor) !=== Nil
NINE/CompUnit-Repository-Mask
…/README.md :13:
try require Test; # now fails
NINE/CompUnit-Repository-Mask
…/Mask.pm6 :60:
try require Test; # now fails
NINE/Inline-Perl5
…/file_handles.t :5:
if (try require File::Temp) === Nil {
PSIXSTEVE/Math-Polygons
…/Polygons.pm6 :10:
#try require Physics::Measure; say $!;
PSIXSTEVE/Math-Polygons
…/Polygons.pm6 :11:
#try require Physics::Measure::Lang; say $!;
TYIL/App-Assixt
…/Bootstrap.pm6 :20:
try require ::($lib);
TYIL/App-Assixt
…/Meta.pm6 :29:
try require ::($lib);
TYIL/App-Assixt
…/Touch.pm6 :18:
try require ::($lib);
TYIL/App-Assixt
…/Main.pm6 :53:
try require ::($lib);
UFOBAT/I18N-LangTags
…/03-list.t :5:
my $has-inline-perl5 = not (try require Inline::Perl5) === Nil;
UGEXE/zef
…/Zef.pm6 :137:
if (try require ::($ = $module)) ~~ Nil;
UGEXE/zef
…/P6CReporter.pm6 :8:
state $probe = (try require Net::HTTP::POST) !~~ Nil ?? True !! False;
UGEXE/zef
…/TAP.pm6 :7:
method probe { state $probe = (try require TAP) !~~ Nil ?? True !! False }
YNOTO/DB-Xoos
…/Xoos.pm6 :68:
my $no-yaml = (try require ::('YAML::Parser::LibYAML')) === Nil;
YNOTO/DB-Xoos
…/Xoos.pm6 :92:
my $loaded = (try require ::("$model")) === Nil;
YNOTO/DB-Xoos
…/Model.pm6 :38:
my $row-class-loaded = (try require ::($row-class)) === Nil;
YNOTO/DB-Xoos
…/Model.pm6 :54:
my $use-anon = (try require ::($r-str)) === Nil;
YNOTO/DB-Xoos
…/Searchable.pm6 :9:
my $req = (try require ::($searchable)) === Nil;
YNOTO/DB-Xoos
…/07-yaml-models.t :10:
my $no-yaml = (try require ::('YAML::Parser::LibYAML')) === Nil;
7ojo/perl6-powerline-prompt
…/powerline-daemon.p6 :12:
try require ::('Powerline::Prompt::Shell::Bash');
MARTIMM/config-datalang-refine
…/Refine.pm6 :59:
(try require ::($!data-module) <&from-toml>) === Nil
MARTIMM/config-datalang-refine
…/Refine.pm6 :66:
(try require ::($!data-module) <&from-json>) === Nil
MARTIMM/config-datalang-refine
…/Refine.pm6 :195:
(try require ::($!data-module)) === Nil
Xliff/p6-RandomColor
…/RandomColor.pm6 :4:
try require ::('Color');
Xliff/p6-RandomColor
…/01-basic.t :123:
try require ::('Color');
ajs/perl6-Math-Sequences
…/sequences.t :7:
try require Math::Sequences;
cjfields/bioperl6
…/SeqIO.pm6 :27:
try require ::($plugin);
cygx/p6-tinycc
…/Bundled.pm :7:
if (try require TinyCC::Resources::Win64::DLL) !=== Nil;
edumentab/p6-app-moarvm-debug
…/Formatter.pm6 :3:
my $has-color = (try require Terminal::ANSIColor) !=== Nil;
jonathanstowe/Lumberjack-Application
…/JSON.pm :109:
my $class = (try require ::($v<name>));
niner/CompUnit-Repository-Mask
…/README.md :13:
try require Test; # now fails
niner/CompUnit-Repository-Mask
…/Mask.pm6 :60:
try require Test; # now fails
nkh/P6-Data-Dump-Tree
…/Tree.pm :151:
if $clone.flat && (try require Data::Dump::Tree::LayHorizontal <&lay_horizontal>) !=== Nil
nkh/P6-Data-Dump-Tree
…/Colorizer.pm :57:
if (try require ::Terminal::ANSIColor) !=== Nil
p6-pdf/PDF-Content-p6
…/Graphics.pm :131:
(try require PDF::To::Cairo) !=== Nil
perl6/Pod-To-HTML
…/HTML.pm :7:
#try require Term::ANSIColor <&colored>;
perl6/doc
…/modules.pod6 :175:
try require Foo;
perl6/doc
…/modules.pod6 :183:
(try require Foo) === Nil and say "Failed to load Foo!";
perl6/doc
…/modules.pod6 :187:
try require ::('Foo');
perl6/gtk-simple
…/DrawingArea.pm6 :16:
try require ::('Cairo');
perl6/perl6-lwp-simple
…/Simple.pm :56:
(try require IO::Socket::SSL) !=== Nil
perl6/perl6-lwp-simple
…/getstore.t :17:
try require IO::Socket::SSL;
perl6/perl6-lwp-simple
…/issue-7.t :9:
try require IO::Socket::SSL;
sergot/http-useragent
…/Message.pm6 :126:
try require ::('Compress::Zlib');
sergot/http-useragent
…/UserAgent.pm6 :368:
try require ::("IO::Socket::SSL");
sergot/http-useragent
…/090-ua-ssl.t :9:
try require ::("IO::Socket::SSL");
sergot/http-useragent
…/100-redirect-ssl.t :9:
try require ::('IO::Socket::SSL');
sergot/http-useragent
…/190-issue-116.t :8:
try require ::('IO::Socket::SSL');
sergot/http-useragent
…/210-content-encoding.t :10:
try require ::('Compress::Zlib');
tadzik/Module-Toolkit
…/Ecosystem.pm :42:
my $has-http-ua = try require HTTP::UserAgent;
tadzik/panda
…/Ecosystem.pm :87:
my $has-http-ua = try require HTTP::UserAgent;
tokuhirom/p6-Protocol-WebSocket
…/Client.pm6 :12:
try require IO::Socket::SSL;
tony-o/perl6-bench
…/Bench.pm6 :4:
(try require ::('Telemetry') <&infix:<->>) === Nil and $use-telemetry = False;
tony-o/perl6-bench
…/telemetry.t :7:
if (try require ::('Telemetry') <&infix:<->>) !~~ Nil {
tony-o/perl6-data-dump
…/Dump.pm6 :3:
my $colorizor = (try require Terminal::ANSIColor) === Nil
tony-o/perl6-hiker
…/Hiker.pm6 :53:
(try require "{$f.absolute}") === Nil and die "could not load {$f.absolute}";
tony-o/perl6-xoo
…/Xoos.pm6 :43:
my $no-yaml = (try require ::('YAML::Parser::LibYAML')) === Nil;
tony-o/perl6-xoo
…/Xoos.pm6 :78:
my $loaded = (try require ::("$model")) === Nil;
tony-o/perl6-xoo
…/Model.pm6 :38:
my $row-class-loaded = (try require ::($row-class)) === Nil;
tony-o/perl6-xoo
…/Model.pm6 :53:
my $use-anon = (try require ::($r-str)) === Nil;
tony-o/perl6-xoo
…/Searchable.pm6 :9:
my $req = (try require ::($searchable)) === Nil;
tony-o/perl6-xoo
…/07-yaml-models.t :10:
my $no-yaml = (try require ::('YAML::Parser::LibYAML')) === Nil;
ugexe/Perl6-App--ecogen
…/ecogen :17:
next() R, note("Ecosystem [$ecosystem-module] could not be loaded") if (try require ::($ecosystem-module)) ~~ Nil;
ugexe/Perl6-Net--HTTP
…/Dialer.pm6 :3:
sub CAN-SSL(--> Bool) { (try require IO::Socket::SSL) !~~ Nil ?? True !! False }
ugexe/zef
…/Zef.pm6 :133:
if (try require ::($ = $module)) ~~ Nil;
ugexe/zef
…/P6CReporter.pm6 :8:
state $probe = (try require Net::HTTP::POST) !~~ Nil ?? True !! False;
ugexe/zef
…/TAP.pm6 :7:
method probe { state $probe = (try require TAP::Harness) !~~ Nil ?? True !! False }
zoffixznet/perl6-Benchy
…/Benchy.pm6 :9:
return sub (Str $s, $) { $s } if Nil === try require Terminal::ANSIColor;
zoffixznet/perl6-IRC-Client
…/Client.pm6 :26:
my &colored = (try require Terminal::ANSIColor) === Nil
zoffixznet/perl6-Test-Notice
…/Notice.pm6 :8:
my $color = (try require Terminal::ANSIColor) === Nil
zoffixznet/perl6-Testo
…/TAP.pm6 :6:
return sub (Str $s, $) { $s } if Nil === try require Terminal::ANSIColor;
zoffixznet/perl6-Testo
…/Tester.pm6 :12:
(try require ::($out)) === Nil and die "Failed to load formatter $out: $!";
zoffixznet/perl6-p6lert
…/p6lert :6:
my $color = (try require Terminal::ANSIColor) === Nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment