abullen has asked for the wisdom of the Perl Monks concerning the following question:
$VAR1 = {
'OneUploadedFile' => [
{
'FirstParagraphOfText' => '.Illinois Web Links for Project Next Generation Abraham Lincoln Pr
esidential Library Art Edventure! (etc. etc.).',
'InterimTrigramStoragePath' => {},
'InterimDocStoragePath' => {},
'InterimBigramStoragePath' => {},
'ChecksumResult' => '01331d9ac99bfd620183e122a256a901',
Question to all. How do get the value of ChecksumResult, say? I normally do this with
my $httpArray = $xmlRef->{DepositoryProcessingRecord}{HttpHeaderMd}->{'HttpMeta'};
for my $q (@$httpArray) {
if ($q->{Name} eq "HTTP_OriginallyRequestedURL") { $hTTP_OriginallyRequestedURL = $q->{content} }
}
but I can't seem to get the analogy to data that doesn't have a nice identifiable Name:content delineation. This doesn't work:
my $FILEARRAY = $xmlRef->{DepositoryProcessingRecord}{MultiFileDoc}->{OneUploadedFile};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem handling complex data structure with XML::Simple
by runrig (Abbot) on Aug 10, 2011 at 21:46 UTC | |
|
Re: Problem handling complex data structure with XML::Simple
by ikegami (Patriarch) on Aug 10, 2011 at 21:47 UTC | |
by abullen (Initiate) on Aug 12, 2011 at 20:22 UTC | |
by ikegami (Patriarch) on Aug 12, 2011 at 20:33 UTC | |
|
Re: Problem handling complex data structure with XML::Simple
by Gulliver (Monk) on Aug 11, 2011 at 02:12 UTC |