Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by kcott (Bishop)
on Jul 29, 2016 at 09:08 UTC ( #1168802=note: print w/replies, xml ) Need Help??


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
    ...labelPack()...
    and should look more like
    ...Label()->pack()...
    or maybe changed to something different, or even removed.
  • 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

  • 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1168802]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2021-01-22 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?