Hi all,

I am running Perl 5.8.8 and Tk 804.027. I try to get ZooZ - the Perl/Tk GUI builder to work. First of all ZooZ.pl doesn't startup unless I add the -nosplash option.

When running perl ZooZ.pl -nosplash I get a fatal error "Can't locate auto/Tk/Frame/header.al in @INC". It is possible to continue loading the gui, however I can not configure widgets.

The error occurs at ZooZ/Forms.pm Line 891.

my $hl = $top->Scrolled(HList => -scrollbars => 'se', -bg => 'white', -header => 1, -columns => 4, )->grid(-row => 1, -column => 0, -rowspan => 2, -sticky => 'nsew', ); $hl->header(create => 0, -relief => 'raised', -text => 'Label'); $hl->header(create => 1, -relief => 'raised', -text => 'Type'); $hl->header(create => 2, -relief => 'raised', -text => 'Accelerator' +); $hl->header(create => 3, -relief => 'raised', -text => 'Command');
$hl is just a Tk::Form, which does not have a header subroutine. I guess it was intended to use Tk::HList::header.

Does anyone know how to make this work?


In reply to ZooZ Autoloader error by codeacrobat

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.