I feel like I'm traveling 10 years back in time by asking this, but...
Are there any modules, patches, or any "new" version of Perl (released in the last 10 years) to enable writing web-oriented Perl scripts using ASP-style tags?
e.g. from ASP/JSP
some html <% some code %> more HTML
e.g. from PHP
some html <? some code ?> more HTML
Please don't worry about "why" I'm asking this... It's related to programming language research.
Yep. Check out Mason.
You can install it from CPAN with cpan -i HTML::Mason
.
There's also Template Toolkit, which makes it a bit easier to separate your template and logic code, but allows a lot of the same constructs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With