How to limit string which return from IO::gets max length ?

Regards
Andy Yu