in reply to Re: how to split large pl file
in thread how to split large pl file

Thanks Bjoern,

but, I was kinda exagerating ;)

I want to put all menu callbacks in a file and all button callbacks in another file...

Replies are listed 'Best First'.
Re: Re: Re: how to split large pl file
by wog (Curate) on Nov 21, 2001 at 08:41 UTC
    Something that's a menu callback can easily be made to be (possibly also) a button callback and vice-versa. (Not to mention pull-down menus.) This, IMO, means that these things are not inheritently different such that they should be seperated.
      I don't disagre, but I just want to keep the size my source file small. GUI programs are very verbose compared to a neat little command-line jobber...

      Seems like there is no way other than a module with its own namespace...

      Seems to me, this would be a nice addition to Perl 6, but then I am still new to Perl ;)