# New Ticket Created by Zefram # Please include the string: [perl #129007] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=129007 >
> ((Nil) => 2).Bag.perl (Nil=>2).Bag > ((Nil) => 2).Bag.perl.EVAL.perl ("Nil"=>2).Bag .perl.EVAL doesn't round-trip a Bag where any of the keys in the bag deparses as an identifier. This happens because it's rolling its own Pair deparsing and runs into autoquoting. This is the same problem that was seen with Pair.perl in [perl #126890]. The reliable fix would be for Baggy.perl to construct Pair objects and call .perl on them, so that the logic to handle this only needs to be in one place (Pair.perl). -zefram