elsif ($^O eq "Linux") { eval { require Term::ANSIColor; }; } #### # Load ANSI driver if running in Windows. use if $^O eq 'MSWin32', 'Win32::Console::ANSI'; use Term::ANSIScreen qw/:color :cursor :screen :keyboard/; ...