f



'use Data::Dumper' in Tk beta6's Menu.pm

I'm getting this error running basic_demo and some of the other demos 
in beta6.

Can't load 'C:/perl/5.8.2/lib/MSWin32-x86-multi-thread/auto/Data/Dumper/Dumper.dll' for module Data::Dumper: load_file:�@�~�����C at C:/perl/5.8.2/lib/MSWin32-x86-multi-thread/XSLoader.pm line 68.
 at C:/perl/5.8.2/lib/MSWin32-x86-multi-thread/Data/Dumper.pm line 27
Compilation failed in require at C:/perl/site/5.8.2/lib/MSWin32-x86-multi-thread/Tk/Menu.pm line 1005.
 at C:/perl/5.8.2/lib/MSWin32-x86-multi-thread/Data/Dumper.pm line 1005
BEGIN failed--compilation aborted at C:/perl/site/5.8.2/lib/MSWin32-x86-multi-thread/Tk/Menu.pm line 1005.
 at C:/perl/site/5.8.2/lib/MSWin32-x86-multi-thread/Tk/widgets.pm line 14
Compilation failed in require at C:/perl/site/5.8.2/lib/MSWin32-x86-multi-thread/Tk/widgets.pm line 14.
 at basic_demo line 15
BEGIN failed--compilation aborted at basic_demo line 15.

The Chinese Windows98 error says, Operation completed. On my 
Japanese notebook, it says, Operation completed without error.

Menu.pm's line 1005 seems to be a stray 'use Data::Dumper;' in between the 
definition of 2 subroutines. 

	# hierarchy.

	use Data::Dumper;
	sub tkMenuDup
	{

When I comment out this line, the demos run.

This is not the whole story however, as I get the same error running
'use Data::Dumper' as a one-line script. I do not get it when I run 
'use Data::Dumper' from the command line or 'perl -MData::Dumper'.

I rebuilt perl and Data::Dumper, but this did not solve the problem.

-- 
Greg Matheson, Taiwan

-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server.  If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to majordomo@lists.stanford.edu
0
Greg
12/9/2003 8:52:05 AM
comp.lang.perl.tk 4721 articles. 0 followers. pharrendorf (19) is leader. Post Follow

0 Replies
435 Views

Similar Articles

[PageSpeed] 49

Reply:

Similar Artilces:

Re: 'use Data::Dumper' in Tk beta6's Menu.pm
Greg Matheson <lang@ms.chinmin.edu.tw> wrote: > I'm getting this error running basic_demo and some of the other demos > in beta6. > > Can't load 'C:/perl/5.8.2/lib/MSWin32-x86-multi-thread/auto/Data/Dumper/Dumper.dll' for module Data::Dumper: load_file:�@�~�����C at C:/perl/5.8.2/lib/MSWin32-x86-multi-thread/XSLoader.pm line 68. > at C:/perl/5.8.2/lib/MSWin32-x86-multi-thread/Data/Dumper.pm line 27 > Compilation failed in require at C:/perl/site/5.8.2/lib/MSWin32-x86-multi-thread/Tk/Menu.pm line 1005. > at C:/perl/5.8.2/lib/MSWin32-x86-mult...

Re: 'use Data::Dumper' in Tk beta6's Menu.pm #2
> Greg Matheson <lang@ms.chinmin.edu.tw> wrote: > > I'm getting this error running basic_demo and some of the other demos > > in beta6. > > > > Can't load 'C:/perl/5.8.2/lib/MSWin32-x86-multi-thread/auto/Data/Dumper/Dumper.dll' for module Data::Dumper: load_file:�@�~�����C at C:/perl/5.8.2/lib/MSWin32-x86-multi-thread/XSLoader.pm line 68. > > at C:/perl/5.8.2/lib/MSWin32-x86-multi-thread/Data/Dumper.pm line 27 > > Compilation failed in require at C:/perl/site/5.8.2/lib/MSWin32-x86-multi-thread/Tk/Menu.pm line 1005. > >...

Can't get passed 'use tk;' in my 1st perl/tk program.
I'm trying to run my 1st perl/tk program and can't get passed the "use Tk;" command. I get error, "Can't locate Tk.pm" and if I add a "use lib" pointer to directory containing Tk.pm, I get error message "Can't locate loadable object for module Tk::Event". SEE BELOW for actual scripts and error messages. Environment: Mac OS x 10.3.8; perl version 5.8.1; Tk directory Tk-804.027. Experince level: Used to write lots of perl code, 15 years ago on Sun/unix. Just wrote my 1st perl code on MAC. This is my first try at pe...

'''''''''''''The Running Update/Append Queries Using VBA code Ordeal''''''''''''''
Hello fellow programmers, I am trying to run an append/update query from code, a command button on a form initiates the queries. the format i am using is; _____________________________________________________ SELECT "criteria" FROM "criteria" WHERE "criteria" UPDATE/APPEND "field selections" RecordSource "qryExample" = above text strings" _______________________________________________________________________ When i am running a SELECT query in this manner it works fine with no problems, and accepts the values of specified linked for...

[Tk] grid manager with '-', 'x', '^'
Just curious about special char with grid manager: On Tcl/Tk: grid .a - - grid ^ .b x This first line of TCL could translate on Ruby/Tk as: Tk.grid a, '-', '-' # a.path == '.a' There is no way to tranlate the second line without using any :row, :column, :rowspan, coloumnspan. Because TkGrid.configure want the first parameter is *win*. So, grid manager with relative placement on Ruby/Tk works only when the "first" is *win*. Is this right or do we have other trick for it ? Thanks. Hi! email55555 email55555 wrote: > > Just curious about special...

'''''''''''''The Running Update/Append Queries Using VBA code Ordeal'''''''''''''' #2
Hi, Thanks for ur help there HJ. I know how to do the tasks you specified there. I would like for the update query to use field values from some of the fields on the form (frmInvoices) such as InvoiceNumber, DateFrom, DateTo. My problem is that an append/update query can't find the values in the open Form (frmInvoices) when I specify them as; [Forms]![frmInvoices]![InvoiceNumber] a select query has no problem finding the field values on a form. please help. Aaron Hi Aaron, Could you post the entire code that you are having trouble with? Now it is not possible to see what goes wron...

'is not' or '!='
A newbie question to you; what is the difference between statements like: if x is not None: and if x != None: Without any context, which one should be preferred? IMHO, the latter is more readable. On 2014-08-18 21:35, ElChino wrote: > A newbie question to you; what is the difference between statements > like: > if x is not None: > and > if x != None: > > Without any context, which one should be preferred? > IMHO, the latter is more readable. > "x == y" tells you whether x and y refer to objects that are equal. "x is y&qu...

'^=' and '~='?
Hello, What is the difference between '^=' and '~='? Thanks, Duckhye ...

It's on-it's off-it's on, it's off -WHY?
IS THIS THE CORRECT FORUM? Hope so. We have three computer networked at home...all with Windows XP. one of those is a laptop. Some mornings all 3 can see each other and transfer files...then mysteriously one or more will disappear. No contact....then later it's back. The laptop is the worst. Most often it won't let us in...but sometimes it will. No obvious reason. The most INFURIATING part is the message "see your administrator". Dammit Bill Gates...don't you realize that most networks are small offices without a Majestic Royal Administrator sitting his i...

Error? s = assignin('base','s',tf('s'));
Hi, I need a little help here. Could anyone please tell me what is wrong with this command? s = assignin('base','s',tf('s')); The matlab syntax is -- assignin(ws, 'var', val) Basically I just want to add s=tf('s') into the base workspace. Jack "Jack" <Jack@Jill.com> wrote in message news:ef3e449.-1@webcrossing.raydaftYaTP... > Hi, > I need a little help here. Could anyone please tell me what is wrong > with this command? > > s = assignin('base','s',tf('s')); > > The matlab syntax is -- as...

How to turn off 'N', 'S', 'E', 'W'
in the map lat and lon labels? I'm doing a final figure and I really don't need an 'N' after every latitude label, jus the number would suffice. How do I turn of the letters followin the number? What function / toolbox are you refering to?!? Being a little more specific would sure help to get an answer ... Sebastian ...

Use data from 'fit' and 'int'
Dear all, I used the function 'fit' for fitting experimental data. Afterwards, I integrated this fit, and now I need to know at which x-value the fit reaches a certain y-value. I can plot the integration and use the data cursor but would like to automate this. How can I get a matrix with the integration data in the workspace, or is there another way to accomplish this? Thanks in advance, Katrijn "Katrijn Van Huffel" <katrijn.vanhuffel@gmail.com> wrote in message news:mnoirr$40f$1@newscl01ah.mathworks.com... > Dear all, > I used the function ...

'require'ing globals without 'used only once' complaints from 'perl -w'?
I'm trying to figure out a way to load global variables using 'require' with 'perl -w' enabled, but without getting "<varname> used only once" errors. The only "solution" I've seen is to make sure all globals are referenced more than once, but that gets hard to manage when you scale up the project. My situation is a project of cgi-bin scripts, where there are several scripts all wanting to load global settings from a single 'config.pl' file. My current way of doing things is to make a 'config.pl' file that has the glo...

There's 'new' but no 'delete'
Hi, If I use: "myobject = new MyObject" do I just delete it with "myobject = nil"? There's no "delete", how do I free any memory used within myobject? Thanks, Paul On 15.04.2005 05:35 Mat, in 425e45ff$0$30370$afc38c87@news.optusnet.com.au, �pf� <paulfredlein@NOSPAMoptusnet.com.au> wrote: > Hi, > > If I use: "myobject = new MyObject" do I just delete it with "myobject = > nil"? There's no "delete", how do I free any memory used within myobject? > > Thanks, > > Paul ...

Web resources about - 'use Data::Dumper' in Tk beta6's Menu.pm - comp.lang.perl.tk

Resources last updated: 2/8/2016 11:42:58 AM