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:
-
Somewhere in your program, you have code that looks like
and should look more like...labelPack()...
or maybe changed to something different, or even removed....Label()->pack()... - Somewhere in your code, you're using a Tk::Frame object to invoke a Tk::Class_With_labelPack_method method.
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