in reply to Re: Perl/Html Question - rows are not aligned between different columns
in thread Perl/Html Question - rows are not aligned between different columns
and now you can replace things like test1 with variables and have your names be dynamic.my $foo = "bar"; print qq{"$foo"}; # prints "bar" with the quotes
BTW I'm going to second the previous suggestion to learn about the importance of dividing up content and presentation. While it is conceptually easy to just mix your code and gobs of HTML, the resulting code quickly becomes unmaintainable spaghetti.
The easiest way to do that is to use a templating system. It is a little old, but this survey is still a decent introduction to the basic kinds of templating systems out there, and the ones that it mentions are still readily available. (Personally I like Template Toolkit.)
|
|---|