Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: Prepocessing perl code / substing variables

by haukex (Archbishop)
on Apr 15, 2019 at 21:00 UTC ( [id://1232612]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Prepocessing perl code / substing variables
in thread Prepocessing perl code / substing variables

'cause everybody thinks s/%%(\w+)%%/$vars{$1}/g is enough

Yes, I suspect that is the case...

But I would at least expect missing values reporting

warnings about uninitialized variables could cover that, I think.

May be some functionality with quotes escaping or something for better values substitution...

Here's where one starts entering the area of reinventing the Template wheel :-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-19 11:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found