List Info

Thread: Term::ANSIColor color localization patch




Term::ANSIColor color localization patch
user name
2007-09-21 11:03:06
the attached allows color tags to stack up, so instead of
resetting to nothing,
one can have a color set, as long as it was set like so

     use Term::ANSIColor ':pushpop';

      print PUSHCOLOR(RED.ON_BLUE),"this will be in red
on bluen";

then give

       print LOCALCOLOR(BLUE.ON_RED,"yatta ta da, ta
da");

and due to the manipulation of Term::ANSIColor::COLORSTACK
by
the new features in the patch, the localcolor text is in the
localcolor but
afterwards

     print "this will again be red on blue with no
additional effort."

_______________________________________________
kc mailing list
kcpm.org
http://mail.pm
.org/mailman/listinfo/kc
  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )