module to fetch the size of the terminal
Index | devel
Term::Size is a Perl module which provides a straightforward way to get the size of the terminal (or window) on which a script is running.