At YAPC::NA 2013, Tim Bunce mentioned that the perl interpreter will keep constants like $a x 1000000 around just in case they are needed again. Not so smart when they are huge, but there you go.