This way, @colors will still have only be 'locally' visible to colorize, but it will only be created once, at load-time, instead of every time you call colorize();.{ my @colors=(...); sub colorize { ... } }
In reply to Re^3: Colorize
by tlilley
in thread Colorize
by WrongWay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |