Created
September 12, 2019 00:23
-
-
Save Whateverable/eaec682f2d6b6c5a2fe91365d3a6fbf9 to your computer and use it in GitHub Desktop.
evalable6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use lib 'data/all-modules/github/tadzik/Terminal-ANSIColor/';use Terminal::ANSIColor;my %colortable = a =>"red",d =>"yellow",q =>"magenta",r=>"green";my $toformat="Given a ∈ ℤ and d ∈ ℤ+, there are unique integers q and r, with 0 ≤ r < d, st a = d * q + r"; my @letters=@%colortable.keys; $toformat ~~ s:g/ <wb>(@letters)<wb> /{ colored("$0", %colortable{$0}) }/; print $toformat; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(exit code 1) | |
Type check failed in binding to parameter '$how'; expected Str but got Any (Any) | |
in sub colored at /home/bisectable/git/whateverable/data/all-modules/github/tadzik/Terminal-ANSIColor/lib/Terminal/ANSIColor.pm (Terminal::ANSIColor) line 60 | |
in code at /tmp/Cw7vuIGfpI line 1 | |
in block <unit> at /tmp/Cw7vuIGfpI line 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment