You will still need to instruct the HTML person on what, in particular, "$s->{supply}->Next" means.
Mmm, sorta but not really. The process is, the designer creates the dummy page and then I mark it up with tihs Perl code... actually.
lachoy's link to XMLC is solid gold... that's the right way to do this.
HTML::Seamstress sucks... it's time to do XMLC for Perl...
Now, I will say again that I think using SGML-like markup to embed what you what as indicated by the H::S docs is a good step;
Thanks
Masem, I appreciate your word of approval. It makes me feel good that someone sees where I'm coming from on this.
As a suggestion, I would suggest trying to convert the perl-ish code in the tags into something that can be convert back to perl code, but looking more like VBasic.
Yeah, an earlier version of my
HTML::TreeBuilder parser did in fact do that via
Data::Dref... but just as
Dominus states in the pre-amble to his module
Text::Template... when people design mini-languages, they are happy with it and then thye realize they need this. Then that. Then the other. Pretty soon they've reinvented Perl with new syntax (paraphrase). And that was what I found out with my dot-dref syntax. It was really cute and it made a lot of the stuff you saw in the SYNOPSIS a lot more clean-looking but lateron it made doing harder things in Perl very awkward.
Again, thanks for your comments.