Avoid circular references by weakening
Merge pull request #2 from limitusus/master

Call Scalar::Util::weaken for avoiding circular references