The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "dist:Perl-Critic-Policy-TryTiny-RequireUse Try::Tiny"

Perl::Critic::Policy::TryTiny::RequireUse - Requires that code which utilizes Try::Tiny actually use()es it. River stage one • 1 direct dependent • 1 total dependent

A common problem with Try::Tiny is forgetting to use the module in the first place. For example: perl -e 'try { print "hello" } catch { print "world" }' Can't call method "catch" without a package or object reference at -e line 1. helloworld If you f...

BLUEFEET/Perl-Critic-Policy-TryTiny-RequireUse-0.05 - 03 Mar 2019 18:55:41 UTC
1 result (0.042 seconds)