in reply to Need help understanding RSS script?
Is this a hash?
<a href="$rss->{'channel'}->{'link'}">$rss->{'channel'}->{'title'}</a>
$rss is a reference to a "HoH"- hash of hashes.
This syntax looks odd. What is it doing and how do I read it?
foreach my $item (@{$rss->{'items'}})
$rss->{'items'} is being dereferenced as an array.
read perldoc perlreftut for the references, perldoc perllol and perldoc perldata for the complex data structures.
Sören
|
|---|