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:"}; } }