J
Johnny Google
I would like to create a report template and I am considering using one
of the modules already created to do this... I've been browsing through
the docs on CPAN and I see a few with different advantages. Here is my
specific case:
1) I don't really need the embedded portions to be actual perl because
I would rather it be more readable to someone who does not know perl.
2) I need to be able to handle looping (i.e. a parts list for an
assembly)
3) I need to be able to specifiy exact column position formatting ...
meaning I want to start info on at an exact position on a particular
line even after a variable on that same line has been resolved ...
For example:
012345678901234567890123456789012345678901234567890123456789
[DATE] [ENGINEER] [ASSEMBLY NAME]
I need [ASSEMBLY NAME] to start at the same position no matter
what the length of ENGINEER resolves to.
If I were to code this in perl -- I would just ust formatted printing
.... but I want to make this format changeable by a non-programmer - and
have it living in a template file. I have only browsed the TEXT
TEMPLATE/MAGIC modules at this point but it looks to me that the
formatting would not handle starting a variable at a certain position
down-the-line from a previously resolved variable.
Any hints?
Thanks,
John
of the modules already created to do this... I've been browsing through
the docs on CPAN and I see a few with different advantages. Here is my
specific case:
1) I don't really need the embedded portions to be actual perl because
I would rather it be more readable to someone who does not know perl.
2) I need to be able to handle looping (i.e. a parts list for an
assembly)
3) I need to be able to specifiy exact column position formatting ...
meaning I want to start info on at an exact position on a particular
line even after a variable on that same line has been resolved ...
For example:
012345678901234567890123456789012345678901234567890123456789
[DATE] [ENGINEER] [ASSEMBLY NAME]
I need [ASSEMBLY NAME] to start at the same position no matter
what the length of ENGINEER resolves to.
If I were to code this in perl -- I would just ust formatted printing
.... but I want to make this format changeable by a non-programmer - and
have it living in a template file. I have only browsed the TEXT
TEMPLATE/MAGIC modules at this point but it looks to me that the
formatting would not handle starting a variable at a certain position
down-the-line from a previously resolved variable.
Any hints?
Thanks,
John