NAME

23-nofail.t - verify FindBin::libs nofail import option

DESCRIPTION

Tests the nofail import option added in FindBin::libs v5.0.8.

Without nofail, FindBin::libs carps "Empty lib directory list from '$0'" when the import completes with no usable directories found. With nofail, the carp is suppressed.

The base name findbin_nofail_test_nonexistent is chosen to be absent from every ancestor of the test file, ensuring the carp branch is reached reliably.

SEE ALSO

FindBin::libs