New text Editor

Discussion in 'Perl Misc' started by Wasp, Apr 16, 2012.

  1. Wasp

    Wasp Guest

    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.
     
    Wasp, Apr 16, 2012
    #1
    1. Advertising

  2. Wasp

    Wasp Guest

    On Apr 16, 3:26 pm, Ben Morrow <> wrote:
    > 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!
     
    Wasp, Apr 16, 2012
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stylus Studio
    Replies:
    0
    Views:
    714
    Stylus Studio
    Aug 3, 2004
  2. Chris Lovett
    Replies:
    0
    Views:
    619
    Chris Lovett
    Jul 1, 2004
  3. Stylus Studio
    Replies:
    0
    Views:
    504
    Stylus Studio
    Aug 3, 2004
  4. John Salerno
    Replies:
    24
    Views:
    661
    Xavier Morel
    Mar 6, 2006
  5. Replies:
    2
    Views:
    485
    Thomas 'PointedEars' Lahn
    Mar 11, 2008
Loading...

Share This Page