require "testsuite.pl"; open_browser(optional machine info); goto ("http://some.url"); verify_page(some info to verify); set_form (field1 => "value1", field2 => "value2"); submit_form(optional button or image to click); verify_page(some info to verify);

Seriously, they wouldn't need to learn Perl, per se, in order to write Perl scripts that do nothing but call functions that you've predefined. Learning this syntax wouldn't be significantly harder than learning the syntax you laid out, and it saves you the trouble of writing a parser; all you have to do is write the procedures.

I've used a system comparable to this successfully. My sister, an end user, writes quizzing questions using my quizques mode in Emacs. She doesn't do anything else in Emacs and does not know *any* of the standard Emacs stuff (most notably, she does not know about Ctrl-C anything, Ctrl-X anything, or M-x anything). She just uses the mode that I set up. You can do the same thing with Perl. Write your code so that they don't have to do anything but call your prefab procedures.


$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/

In reply to Re: Keyword parser function mapping module by jonadab
in thread Keyword parser function mapping module by apprentice

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.