Created
March 1, 2017 19:50
-
-
Save anonymous/e7a70d174279f711917d78dc3f63be65 to your computer and use it in GitHub Desktop.
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
while @!laws.shift -> $law { | |
# my $law = @!laws.shift; | |
given $law { | |
when /origin | core/ {%!phyhash{$power}{$law} = @!laws.shift or die}; | |
when /nocolor | yolo/ {%!phyhash{$power}{$law} = True if $power eq "$arg1"}; | |
when /asd/ {%!phyhash<Nebula>{$law} = @!laws.shift if $power eq "abc"}; | |
when 'cluster' {%!phyhash{$power}{$law} = True if $power eq "asd"}; | |
when Force {$power = "Star"}; | |
default {die "USAGE:"}; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment