http://qs321.pair.com?node_id=1168802


in reply to Tk Failed to AUTOLOAD 'Tk::Frame::labelPack' at C:\Strawberry\perl\lib\Tk/Tk/Widget.pm line 203.

G'day pks283,

Welcome to the Monastery.

Firstly, I searched CPAN for Tk::Frame::labelPack: Not Found!

There's clearly much code you've omitted: 'use strict', 'use warnings', 'sub getselect_product {...}', 'sub getselect_package {...}', not to mention a raft of variable declarations and definitions. Unfortunately, this means we can't give you much in the way of specific or exacting advice.

Here's a brace of pure guesses:

If one of those guesses pointed to a solution, that's great; however, if you have follow-up questions, or future questions of a similar nature, please supply a short (20-30 lines) script that we can run and reproduce your problem. You should also provide the input you used to generate your problem, whatever output, or outcome, you recieved (including warning and error messages), whatever output, or outcome, you expected, and any other pertinent information, which often includes such things as: configuration data; environment variable values; log entries; timings; file sizes; and so on. You'll find excellent guidelines for all of this, and more, in "How do I post a question effectively?".

— Ken

  • Comment on Re: Tk Failed to AUTOLOAD 'Tk::Frame::labelPack' at C:\Strawberry\perl\lib\Tk/Tk/Widget.pm line 203.
  • Select or Download Code