Grauniad Blog Perl broken


Now news of a blog with problems wouldn’t normaly be that interesting, but today the Guardian Unlimited Blog Picture of the day has gone a bit wonky, complete with a very good reason why all programming code should be checked for “language suitability” after the techs have finished with it

use strict; use warnings; use XML::Simple;

[snip]


my $ParsedphotoGetSizesResult = XMLin(“$photoGetSizesResult”) or die (“flickr api is being a silly bastard”);

my $bigurl = $ParsedphotoGetSizesResult->{sizes}->{size}->2->{‘source’};

[/snip]

print $HTMLOUT;

Be Sociable, Share!
No TweetBacks yet. (Be the first to Tweet this post)

Comments are closed.