Thread XML Parsing Problem (3 answers)
Opened by Gast at 2006-06-08 07:00

Dubu
 2006-06-11 03:06
#67105 #67105
User since
2003-08-04
2145 Artikel
ModeratorIn + EditorIn

user image
Zur Not fragt man ab, ob es ein Array ist:
Code: (dl )
foreach my $type (ref($entry->{type}) eq 'ARRAY' ? @{$entry->{type}} : $entry->{type})

"ForceArray" ist da wohl übersichtlicher.

View full thread XML Parsing Problem