![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Splitting long text for Templateby choroba (Archbishop) |
on Feb 07, 2021 at 23:54 UTC ( #11128039=note: print w/replies, xml ) | Need Help?? |
> you could probably use simple conditional IF blocks in the template I fully agree. Especially if you want to hide the rest of the text for a purpose, e.g. show the full text only to the paying customers. Hiding it via JavaScript would still make them have the full text at their disposal. The distinction of a paying/not paying customer is definitely not part of the View's business.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|