NAME

Chj::AutoTrapl -- use Chj::Trapl on tty, Chj::Backtrace otherwise

SYNOPSIS

use Chj::AutoTrapl;

DESCRIPTION

This checks whether stdin and stdout are going to a tty, if so, then activate Chj::Trapl to trap errors in a repl, otherwise just activate Chj::Backtrace.

SEE ALSO

Chj::Trapl, Chj::Backtrace