Hi Robert.
Robert Eden wrote:
First, let me start by saying I was in the same exact boat when I added
a graphical config to tv_check.
Cheers mate :-)
I haven't had any complaints from folks annoyed that TK is in there,
but my the grabber audience is much broader.
Of course, on Windows people don't need to worry about the dependencies
due to your fantastic packaging :-).
The best long term solution may be to do something like tv_grab_na,
where many (most?) of the subroutines are in an external module that
could be shared by both programs.
That sounds like a good idea but does still limit the configuration to
being in Perl.
BTW, I think the way you load a module "only if it exists" is doing a
"require" inside an eval and catching the error... I'll try and find
some sample code.
Thanks - that'd be useful.
I'd say the major disadvantage of Tk is that it is ugly.
The advantage is that this much-needed (by me!) feature can be added
quickly and relatively easily.
Of course we could use wxPerl instead - it's much nicer-looking and I've
got a bit of experience with wxWindows in C++. It uses native widgets.
I don't know, but I imagine the size of the library is much larger,
however.
Andy
|