New text Editor

W

Wasp

Hi,

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.

Thanks.
 
W

Wasp

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:http://padre.perlide.org.)

Ben

Thanks you!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top