in reply to From php to perl + template solution
Now with the use of Perl + templates how the same thing is suppose to work?
You retrieve the previous counter value, increment it, and store it again. Then you pass the new counter value to the template engine, let it render the template, and print the result.
Perl 6 - links to (nearly) everything that is Perl 6.