in reply to Re^2: Problems getting info from .xml to display with HTML::Template
in thread Problems getting info from .xml to display with HTML::Template
...my @department .....$template->param(DEPT => \@deptartment);With strict on I get error: Global symbol "@department" requires explicit package name.
Do you notice anything? removing strict only hides the error.
And I think you'll be more successful if you structure your XML to contain the data in the tags:
<document> <position> <departments> <department>Nothing Selected</department> <department>Pricing and Shopping Systems</department> ... </departments> </position> </document>
But then again I didn't test it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Problems getting info from .xml to display with HTML::Template
by Anonymous Monk on Jul 16, 2008 at 15:40 UTC | |
by moritz (Cardinal) on Jul 16, 2008 at 15:55 UTC | |
by Anonymous Monk on Jul 16, 2008 at 15:57 UTC |