Hi,
How would I loop through and access the following data:
Code:
$VAR1 = {
'site' => [
{
'website' => 'http://www.site1.com',
'status' => '200',
'vpn' => 'no'
},
{
'website' => 'http://www.site2.com',
'status' => '200',
'vpn' => 'no'
},
{
'website' => 'http://www.site3com',
'status' => '200',
'vpn' => 'yes'
}
]
};
I need to perform a set of actions on each set of data.
The data is created using XML::Simple and the output above was from data::dumper.
Thanks,
Shawn