New text Editor

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I'm currently writing a little text editor in perl (I use GTK for the
GUI but I hope you can use it with curses too soon). And I wonder if
this is the better practice to put a run () function in a separate
module to have only "$ crap-> run ()" in the main script.


Re: New text Editor

Quoted text here. Click to load it

Yes. I might put argument parsing and such in the main program as well,
or at least calls to functions in the module to do argument parsing.
Certainly the module should not be referring to @ARGV directly.

(Oh, and when you get fed up with writing your own: .)


Site Timeline