in reply to Need nudge: how to (dynamically) discover terminal width?
Term::Size should know.
Note the section on changing window size. WINCH is a signal that you need to trap to be able to do this.
--MidLifeXis