http://www.perlmonks.org?node_id=847319


in reply to Unserialize String to hash

There is a module for that: PHP::Serialization