home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Trequire

$

terminal


->Trequire(


caps


)

Checks to see whether the named capabilities, caps , are defined in the terminal's termcap entry. For example:

$terminal->Trequire(qw/ce ku kd/);
Any undefined capabilities are listed and Carp::croak is called.