On 19 Oct 2007 at 12:04, Joseph L. Casale wrote: > My whole project got too messy so I decided to use an existing XML > file to load in all the needed input I would require. > > I have the following code but fail to access to data in $workspace. > > my $workspace = XMLin($ARGV[0], forcearray => 1);
Can all tags in your XML be repeated? Really? Use forcearray => [qw(names of tags that actually can be repeated)] and you'll get a much easier to navigate datastructure. Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/