Line 0
Link Here
|
|
|
1 |
use Modern::Perl; |
2 |
|
3 |
use Term::ANSIColor qw(:constants); |
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 RED, "Something in red is a warning"; |
13 |
say $out YELLOW, "Somthing in yellow is a call to action"; |
14 |
say $out BLUE, "Something in blue is for information only"; |
15 |
say $out WHITE, "You could use 'WHITE' too?"; |
16 |
say $out "Or leave color off and stick to default"; |
17 |
}, |
18 |
}; |