title: How to deserialize Perl Data::Dumper output in PHP
body: <p>I have a result of export variable in Perl like this string:</p>
  
  <pre><code>$VAR1 = {
      'guard' =&gt; undef,
      'work_hand' =&gt; undef,
      'images' =&gt; 
          {'1' =&gt; 
              {
              'mini_height' =&gt; 150,
              'width' =&gt; 150,
              'extension' =&gt; 'jpg',
              'filename' =&gt; 'object_1.1330907414.96873.jpg',
              'mini_width' =&gt; 150,
              'class' =&gt; 'Ontico::Image',
              'height' =&gt; 150,
              'mini_filename' =&gt; 'object_1.1330907414.96873.mini.jpg',
              'size' =&gt; 26053,
              'symname' =&gt; 'big_logo'
              },
          '2' =&gt; 
              {
              'width' =&gt; 48,
              'extension' =&gt; 'jpg',
              'alt' =&gt; 'Даниэле Галлоппа',
              'height' =&gt; 48,
              'mini_filename' =&gt; 'object_91.1235312905.mini.jpg',
              'size' =&gt; 12809,
              'symname' =&gt; 'logo',
              'mini_height' =&gt; 150,
              'filename' =&gt; 'object_91.1235312905.jpg',
              'mini_width' =&gt; 150,
              'class' =&gt; 'Ontico::Image'
              }
          },
          'show_league_banner' =&gt; 0,
          'back_hand' =&gt; undef,
          'weight_category' =&gt; undef,
          'stick_position' =&gt; undef
      };
  </code></pre>
  
  <p>How can I deserialize this data in PHP?</p>
  
  <p><strong>P.S. I already have data in this format in DB, I cannot change it to json or another.</strong></p>