Permalink
Browse files

Change Term::ANSIColor example to use :from<perl5>.

  • Loading branch information...
1 parent d05a5fe commit be2a9e7ec45f5f6e619c099b784e768c76e6a1c7 Paweł Murias committed Feb 21, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 examples/term-ansicolor.pl
@@ -1,5 +1,4 @@
-eval("use Term::ANSIColor;",:lang<perl5>);
-my &color := eval('\&color',:lang<perl5>);
+use Term::ANSIColor:from<perl5>;
say
color("bold blue"), "Hello ",
color("green"), "Colorful ",

0 comments on commit be2a9e7

Please sign in to comment.