On Tue, 11 Feb 2003, Brandon Bowersox wrote: > It appears that neither query() param() return the list of parameters > in the order that they appear in the template file. (Example below.)
That's true. > How can I do this? Am I missing a special option or a feature? You can't. The parameter names are stored in a hash, which discards the order they appeared in the template. > Is this a desired feature that would be welcomed into HTML::Template? I can't think of any use for it. Why do you want it? > Do @pstack and %pmap in &_parse() of HTML/Template.pm keep the order > information stored so that we could easily add this functionality? You could walk @pstack and assemble a list of VARs and LOOPs in order of appearance. See output() for an example of how to iterate through @pstack. -sam ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users
