# New Ticket Created by David Warring # Please include the string: [perl #124148] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=124148 >
The perl method on Rakudo/MoarVM currently outputs has entries in a random order: % perl6-m -e'say { :a(10), :b(20), :c(30) }.perl' {"c" => 30, "a" => 10, "b" => 20} % perl6-m -e'say { :a(10), :b(20), :c(30) }.perl' {"a" => 10, "b" => 20, "c" => 30} JVM otoh, does seem to order consistantly: % perl6-j -e'say { :a(10), :b(20), :c(30) }.perl' {"a" => 10, "b" => 20, "c" => 30} % perl6-j -e'say { :a(10), :b(20), :c(30) }.perl' {"b" => 20, "c" => 30, "a" => 10} S02 doesn't have an opinion on hash ordering - http://design.perl6.org/S02.html#The_.perl_method I'm in the habit of using the .perl method as part of the normal development/debugging progress, but I find that the MoarVM behavior can be a bit taxing in practice. Could the MoarVM .perl method also order hash entries?