mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
d7aa7c3c08
Perl, similar to what is found in other languages (such as Java, Python or C++). The standard method of using eval {}; if($@) {} is often prone to subtle bugs, primarily that tis far too easy to stomp on the error in error handlers. And also eval/if isn't the nicest idiom. WWW: http://search.cpan.org/dist/TryCatch PR: ports/145951 Submitted by: Jonathan Chu <milki@rescomp.berkeley.edu>
8 lines
329 B
Plaintext
8 lines
329 B
Plaintext
%%SITE_PERL%%/%%PERL_ARCH%%/TryCatch.pm
|
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/TryCatch/.packlist
|
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/TryCatch/TryCatch.bs
|
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/TryCatch/TryCatch.so
|
|
%%SITE_PERL%%/%%PERL_ARCH%%/bench.pl
|
|
%%SITE_PERL%%/%%PERL_ARCH%%/bench_ok.pl
|
|
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/TryCatch
|