Think about Loose Coupling | |
PerlMonks |
Re: A minilanguage with the least effort?by moritz (Cardinal) |
on Feb 17, 2009 at 13:21 UTC ( [id://744398]=note: print w/replies, xml ) | Need Help?? |
The least effort is eval, which can be used to implement a mini-language called "Perl". (Note that this comes with security implications).
The second least effort is to use a CPAN module that implements a minilanguage. Or of course you can write a parser for it (if it's really mini that's going to be easy) and a backend. The exact approach varies greatly on what you actually want your minilanguage to do.
In Section
Seekers of Perl Wisdom
|
|