Re: 'use Data::Dumper' in Tk beta6's Menu.pm
Greg Matheson <firstname.lastname@example.org> 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 <email@example.com> 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
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;
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:
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 ?
email55555 email55555 wrote:
> Just curious about special...'''''''''''''The Running Update/Append Queries Using VBA code Ordeal'''''''''''''' #2
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;
a select query has no problem finding the field values on a form.
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
if x is not None:
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
> if x is not None:
> 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 '~='?
What is the difference between '^=' and '~='?
...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'));
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@Jill.com> wrote in message
> 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 ...
...Use data from 'fit' and 'int'
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 Van Huffel" <firstname.lastname@example.org> wrote in message
> 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'
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?
On 15.04.2005 05:35 Mat, in email@example.com,
�pf� <paulfredlein@NOSPAMoptusnet.com.au> wrote:
> 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?