I recently found the very fun perl module Term::ANSIColor for changing my text color. Basically, all i need to do to change perl stdout text color is something like...
print color("red")."My sample text\n";
However, after exiting the script, my terminal is now only printing in red as well! Is there some function for return the console to the original color that I can include at the end of my script?
You can try,
print color 'reset';