Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Switching from PHP to Perl/Mason

by Anonymous Monk
on Feb 07, 2023 at 14:43 UTC ( #11150211=note: print w/replies, xml ) Need Help??


in reply to Switching from PHP to Perl/Mason

I just want to embed Perl tags like PHP does.
I'd rather not use a framework if possible.
I want a simple Perl replacement for PHP.
This is what the OP wants. It may not be what you want, but it is what the OP wants. Give people what they want:
  1. Embed Perl tags.
  2. Not a framework.
  3. Simple.

Markup::Perl

use Markup::Perl; <html> <body> <p> Your "lucky number" is <i><perl> print int rand 10 </perl></i> </p> </body> </html>

Dear Monks,

Please do not downvote and censor this node for giving OP a correct answer to the question they asked about a capability they want from Perl. That attitude is why something as bad as PHP utterly devastated Perl's dominance of web programming. Here we are a few decades later and you guys still refuse to give people what they want!

Love, Anonymous

Replies are listed 'Best First'.
Re^2: Switching from PHP to Perl/Mason -- 42
by Discipulus (Canon) on Feb 07, 2023 at 20:40 UTC
    Dear Anonymous Monk,

    > Please do not downvote and censor this node for giving OP a correct answer..

    Actually I see Reputation: 9 (no significant downvotes) and this is a normal trend here nowadays. Perhaps a decade or two ago it would be something like Reputation: 50 (-5) but here we are..

    The smaller community has its advantages: lesser flames and trolling: I see downvotes only on blatantly bad answers and yes, we still have some bad contributors, but the medium level of partecipation is very hight. I'm not speaking of me, of course.

    > .. and you guys still refuse to give people what they want!

    Here I dissent. The complex process of understanding and the trip of knowledge is not built on: I want a so give me a but more like: well you claim to wont a but do you know about or A ? With children your best is to offer a wide panorama, not a narrow path to follow, so almost every advice is welcome and no, there is not the true answer (apart 42 obviously ;)

    I abandoned many years ago the idea of leading people through a specific path. By far better to offer your own look of the panorama and let them choose or even invent their own one. We all assume erickp being adult and already a programmer. Maybe they see Text::XSlate and it opens their mind, maybe not: who are us to judge or forecast something? Just offer your contribution in a good way. Stop.

    With love too.

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
Re^2: Switching from PHP to Perl/Mason
by Anonymous Monk on Feb 07, 2023 at 15:04 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11150211]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (1)
As of 2023-04-02 09:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?