Hi

Below is the data from $Xml using Dumper. I am not expecting to change any code. Code has moved from an old server to new server. Only differences are Linux version has changed from 2.6.24 to 2.6.18 and perl version has changed from 5.8.8 to 5.16.0

At this point I am expecting all the code to remain as it is. It has been working for years. If you advise that "things have changed" then I will need to reconsider.

$VAR1 = { 'Table' => 'siclonesites', 'Site' => 'admin_eventres', 'Pwd' => 'woev1', 'e21' => 'siclone', 'Action' => 'Update', 'data' => [ { 'SCSS' => {}, 'Revisit' => {}, 'DefStyle' => {}, 'TransLinks' => {}, 'Styles' => 'woe_v1~woe_v1_login', 'FixedPath' => {}, 'SClass' => {}, 'HTags' => {}, 'SDesc' => 'WhatsOnEverywhere.com', 'Product' => 'siclone', 'Sitemap' => {}, 'SSite' => 'WOEV1', 'Links' => {}, 'SFolder' => 'C:\\e21software\\Web\\whatsoneve +rywhere\\v1', 'RobotsTxt' => {}, 'OnlineDB' => 'APIPass|7CDF52229B6BE578CA62929 +44B21BCBD~DBUser|59BC1023BF05E76E8B9CD42B2B2CBE08~DBPass|E9B8A115B553 +09965FD463CAC928A089~Server|whatsoneverywhere.com~SiteCode|admin_even +tres', 'ReplyTo' => {}, 'Dist' => {}, 'SFTP' => 'www.whatsoneverywhere.com~woe45fgqp +~dd04jhgfhqpz~httpdocs,templates~', 'OtherRef' => {}, 'SCharset' => {}, 'SMenuType' => 'Horizontal List~~~~~~~~~~~~~~~ +~~~~', 'Vars' => 'eng|$MENUNO=01', 'SAuthor' => 'Rob Jones', 'Language' => 'eng', 'ImageOff' => '/images', 'SMenuOpt' => {}, 'SRating' => {}, 'SCopyright' => 'Copyright 2012 WhatsOnEverywh +ere.com. All Rights Reserved', 'SServer' => 'U', 'SRoot' => 'index.php', 'SMenu' => '01$Lang^HomePage^->index.php~01$La +ng^Venues^->venues.php~01$Lang^Artists / Acts^->artists_acts.php~01$L +ang^AbtUs^->about-us.php~01$Lang^ContactButton^->contact.php', 'Languages' => 'eng,deu,esp,fra~../en|../de|.. +/es|../fr~H~F', 'SRobots' => {} }, { 'XxX' => 'eod' } ] };

I tried the code change you suggested and received a 500 Internal Server Error. Hope the above information helps

Regards

Rob


In reply to Re^2: Perl 5.8 to 5.16 and HASH error by robsgoingmad
in thread Perl 5.8 to 5.16 and HASH error by robsgoingmad

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.