Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Perl as an Interface

by pg (Canon)
on Nov 22, 2004 at 18:29 UTC ( [id://409678]=note: print w/replies, xml ) Need Help??


in reply to Perl as an Interface

Depends on whether we are talking about command-line interface.

  1. If it is command-line interface, yes, Perl is a good candidate. The first thing coming up in my mind is its powerful regexp, so you can easily parse user input (command).
  2. If this is a programming interface (API's). Better just follow the majority of your users. If most of guys in your company use c, write it in c, if they use Java, write it in Java, obviously write it in Perl, if they use Perl. I did a tool before (a set of API's other call to write their own testing script), I created three versions, Perl, c and Java, as we had big enough user bases for all three languages.

Replies are listed 'Best First'.
Re^2: Perl as an Interface
by RollyGuy (Chaplain) on Nov 22, 2004 at 19:12 UTC
    I agree with the above statements. In our case, the interface was the configuration files. So, our input files turned into small Perl scripts. Those that knew Perl could take advantage immediately and those that didn't could use the examples or small documentation we provided on how to write the input files.

    It is important to note that this tool was for people who must program as part of their daily job. So maybe the Perl interface is a better match for that reason. dragonchild alluded to this in the post above; for this to be truly effective, the users should be programmers.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-18 06:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found