sreddy has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, Have any of you have had a code which includes gui generation with hierarchy browsing of a data. Like A | -----B | ------C If you have can you please share me some pointers to it. Regards, Reddy

Replies are listed 'Best First'.
Re: Hierarchy browser with Perl tk
by planetscape (Chancellor) on Jul 17, 2006 at 06:34 UTC

    Something like Tk::Tree, perhaps?

    HTH,

    planetscape
Re: Hierarchy browser with Perl tk
by zentara (Cardinal) on Jul 17, 2006 at 14:40 UTC
    Depending on your needs, there is also Tk::DataTree
    #!/usr/bin/perl use warnings; use strict; use Tk; use Tk::DataTree; my $mw = new MainWindow; my $dt = $mw->DataTree->pack(); $dt->data( { foo => 1, bar => [2, 3] } ); MainLoop;

    I'm not really a human, but I play one on earth. Cogito ergo sum a bum