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
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |