I’m using Term::ANSIColor in my Perl script to do colorization of terminal output, and I am using the colorstrip function, which was only added in Term::ANSIColor version 2.01, according to the changelog. So, is there a way to make my script automatically die with an appropriate error message if it doesn’t find at least that version of Term::ANSIcolor?
I’m using Term::ANSIColor in my Perl script to do colorization of terminal output, and
Share
Just:
See
perldoc -f use: