#!/usr/bin/perl -w use strict; my $colorobj = new Curses::UI::Color; my @colors = $colorobj->get_colors(); print $_ foreach (@colors); exit;