On approximately 4/10/2004 10:20 AM, came the following characters from
the keyboard of Jouke Visser:
That's all very well, and the concept is very interesting, and I realize you started from borrowed code instead of reinventing the wheel, but why reinvent the syntax?

Why not

[options]
--add Module::A --add Module::B


Because that's not really a common way to specify options in an ini-file...
I have been using PDKcompile myself quite a bit, and the syntax Jenda Krynicky invented felt very intuitive for me (I can't talk for others of course), besides, the template generated by the script gives sufficient documentation.

Very true... that isn't the typical syntax for ini files.


I just saw it as a shame that the command line syntax and the PARcompile syntax have to different.

[options]
cmdopt=--add Module::A --add Module::B

Might be more acceptable, without needing to learn two syntaxes for the same thing? Having two syntaxes just makes the learning curve bigger.

You can simply do

perl parcompile >>myscript.pl

remove two lines that are added to your file (the copyright info of parcompile itself), and follow the generated parameters and their enclosed documentation...

-- Glenn -- http://nevcal.com/ =========================== The best part about procrastination is that you are never bored, because you have all kinds of things that you should be doing.



Reply via email to