|
Line 0
Link Here
|
|
|
1 |
use Modern::Perl; |
| 2 |
|
| 3 |
use Term::ANSIColor; |
| 4 |
|
| 5 |
return { |
| 6 |
bug_number => "35681", |
| 7 |
description => "Test Atomic update output", |
| 8 |
up => sub { |
| 9 |
my ($args) = @_; |
| 10 |
my ( $dbh, $out ) = @$args{qw(dbh out)}; |
| 11 |
|
| 12 |
say $out colored("Something in red is a warning", 'red'); |
| 13 |
say $out colored("Somthing in yellow is a call to action", 'yellow'); |
| 14 |
say $out colored("Something in blue is for information only", 'blue'); |
| 15 |
say $out colored("You could use 'WHITE' too?", 'white'); |
| 16 |
say $out "Or leave color off and stick to default"; |
| 17 |
}, |
| 18 |
}; |