in reply to Re^5: file open in perl tk
in thread file open in perl tk

Firstly, thanks formatting the page.

I saved the code as tk_edit_prob.pl, ran it and got:

$ tk_edit_prob.pl Assuming 'require Tk::Gedi;' at ./tk_edit_prob.pl line 26 Tk::Error: Can't locate Tk/Gedi.pm in @INC (@INC contains: ...

Line 26 is:

my $sublable = $subwin1->Scrolled('Gedi',

So, put use Tk::Gedi; after use Tk; - that's fairly minor.

I went to CPAN to get Tk::Gedi but it's not there. Let me know where you got this module from and I'll look into the problem further.

-- Ken

Replies are listed 'Best First'.
Re^7: file open in perl tk
by vr786 (Sexton) on Nov 03, 2010 at 10:38 UTC
    Hi ken, instead of that we can use this, in line 26
    my $sublable = $subwin1->Scrolled('Text',

      It looks like zentara has already posted a solution for you (below).

      You didn't say where you got Tk::Gedi from.

      -- Ken