Kevin wrote:
Hello,
I am having a bit of a problem working with nested data structures and
after
spending some time with the perl man pages, I am turning to the list for
help.
I am reading a DBI record into a hash reference - my $row =
$sth-fetchrow_hashref() - I would like to
Kevin wrote:
Thanks for the reply. I have included the result set and some more of the
code. Your help is appreciated.
my $dbh = DBI-connect(DBI:XBase:C:/Perl/progs/customer) or die
$DBI::errstr;
my $sth = $dbh-prepare(select ID, First_Name from customer) or die
$dbh-errstr();
At 22:17 06/05/2002 -0700, Kevin wrote:
I am reading a DBI record into a hash reference - my $row =
$sth-fetchrow_hashref() - I would like to create a hash to hold all of the
returned rows (or thus, hashes) with the ID being the key, so for example
$returned_rows{$row-{'ID'}} = $row
Lee Goddard wrote:
$i_ama_hash_ref-{ima_key2}-{I'm a value)=I'm a key;
You swapped a brace with a bracket and didn't you mean this anyway:
$i_ama_hash_ref-{ima_key2}-{I'm a key}=I'm a value;
and don't forget, when it get's multidimensional you can drop the -
notation so it looks
Not really my point. My point is that the system is only secure as the
people who run it. It is my understanding that most vulnerabilities these
days are not caused by bugs in the systems but rather lack of
knowledge/control of the adminstrators running the systems.
The original point was
It would be nice, however, to know why 'nmake test' was giving such an
unsatisfying message. Thanks again for your help.
Jim Keenan
Yes - it would :-)
When you run 'nmake test', all of the '.t' scripts in the 't' folder in the
tarball are run.
Now that you have installed the module I
At 09:03 07/05/2002 +0100, Simon Oliver wrote:
Lee Goddard wrote:
$i_ama_hash_ref-{ima_key2}-{I'm a value)=I'm a key;
You swapped a brace with a bracket and didn't you mean this anyway:
$i_ama_hash_ref-{ima_key2}-{I'm a key}=I'm a value;
Sure did. That'll teach me to try and be helpful
Morse, Richard E. wrote:
Hi! Has anyone had any luck using DBI::ODBC and the $dbh-func() call to
get the primary keys for a table?
First of all, DBD::ODBC now has direct $dbh-primary_key() support so use
that instead.
I've been trying to get this simple test script to work:
my $ref =
Hi,
Someone recently mentioned that their local HTML perldocs was automagically
regenerated after they downloaded and installed new modules. Well, mine never is. I
don't care whether it's automagical or not but is there a way of doing it? I suppose
it's pod2html, but not sure what all the
No Actually i am trying to send the command to this application through
script only.
-Original Message-
From: Josue Garayua [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 07, 2002 3:45 PM
To: Sisyphus
Cc: [EMAIL PROTECTED]
Subject: Re: Executable program from perl script
What if the
Thanks for suggesting this
but seems this is not working .. i tried
it still send start to the STDOUT and not to the application.
Actually i want sort of what EXPECT can do , in PERL
Regards,
Sushil
-Original Message-
From: $Bill Luebkert [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May
Sushil Kumar Gupta wrote:
Thanks for suggesting this
but seems this is not working .. i tried
it still send start to the STDOUT and not to the application.
Actually i want sort of what EXPECT can do , in PERL
No it didn't if you coded it right. Provide a samll test snippet
and any
Are we talking about Windows NT 4.0, Windows 2000, or IIS *.*.
Have you all heard anything about win64? Do have any faith that MS is
changing to become a more security aware company? MS is staking its life on
.NET and Win64. They are working hard to change. *nix has been around for
a long
Are we talking about Windows NT 4.0, Windows 2000, or IIS *.*.
All. So far every release has been vulnerable. Even the patches are sketchy.
Have you all heard anything about win64? Do have any faith that MS is
changing to become a more security aware company? MS is staking
its life on
At 06:59 07/05/2002 -0400, you wrote:
Have you all heard anything about win64?
Yes.
Do have any faith that MS is
changing to become a more security aware company?
No. I am however sure that MS has become a company which -claims- it is
more security aware. But MS has always been guilty of
All,
just a quickie, any recommendations for converting from one XML doc to
another?
regards
Marty
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Guys,
Interesting as it may be, maybe this thread should be moved to a more
appropriate forum ?
There are lots of excellent and well followed security mailing lists out
there where the mostly '*Nix-against-M$-as-Good-against-Evil' stance of this
discussion would surely get a more vigorous and
The thread is becoming a nuisence..
1) Some people prefer to trust adverts to their more experienced peers
2) Some people could go on for ever about how insecure windows is
3) Its not very perl related.
By the numbers: Comparing Windows security to Linux
XSLT.
On Java
Okay, I'm OT now, sorry, but unless things have picked
up in the past six months (I'm sure they have) I'd never
recommend Perl for XML conversion.
lee
At 12:23 07/05/2002 +0100, Martin Moss wrote:
All,
just a quickie, any recommendations for converting from one XML doc to
At 13:40 07/05/2002 +0200, Bellenger, Bruno \(Paris\) wrote:
Guys,
Interesting as it may be, maybe this thread should be moved to a more
appropriate forum ?
Agreed!
lee
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe:
I'm not an expert in this area, but I've always assumed that AxKit
(www.axkit.org) was as good as the Java XML/XSLT solutions. AxKit is now an
official Apache Software Foundation project. The first sentence of the
feature list is XSLT based pipelined XML transformations.
If there are specific
At 14:34 07/05/2002 +0200, you wrote:
At 13:40 07/05/2002 +0200, Bellenger, Bruno \(Paris\) wrote:
Guys,
Interesting as it may be, maybe this thread should be moved to a more
appropriate forum ?
Agreed!
Damn. Just when I had them wriggling in the crushing grip of reason.
If you are certain that the acld.exe accepts input from stdin (as opposed to
actually reading directly from the console, or creating a GUI input stream,
etc), you might try looking at IPC::Open2. This will allow you to read and
write from and to the stdout and stdin of the program. Make sure
Try replacing vbTab with chr(9). That's what a press of the tab key sends.
-Original Message-
From: Mark D. Veerman [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 07, 2002 9:24 AM
To: [EMAIL PROTECTED]
Subject: Win32::OLE Word tabs
Hi, I'm sure this is a fairly simple question.
Geez. I almost forgot one of my favorites: The Template Toolkit. Very
powerful, easy to learn, and it can handle XML pretty well. You can get it
from CPAN; easy to install. See www.template-toolkit.org for more info.
jpt
-Original Message-
From: Martin Moss [mailto:[EMAIL
I've converted a vb macro to Perl, and successfully created a
right tab at
7.5 inches. Now I need to move the cursur to that tab, but I
don't know what
the Perl equivalent for vbTab is.
Check into Win32::OLE::Const and you will find that you don't need to know.
jpt
I plan to automate one GUI based application using perl.
That will include everything like simulating mouse clicks , clicking on sub
menus and fill the items in the text boxes etc etc.. I am totally new to GUI
automation part of perl ..
could any pls help me in telling what all modules are
Simon Oliver [mailto:[EMAIL PROTECTED]] wrote:
First of all, DBD::ODBC now has direct $dbh-primary_key()
support so use
that instead.
Which version has this? I'm running DBD::ODBC v0.28 -- I don't see a more
recent PPM in the ActiveState repositories, and I don't have the MSVC++ compiler
to
Thanks for the reply. I have included the result set and some more of
the
code. Your help is appreciated.
my $dbh = DBI-connect(DBI:XBase:C:/Perl/progs/customer) or die
$DBI::errstr;
my $sth = $dbh-prepare(select ID, First_Name from customer) or die
$dbh-errstr();
$sth-execute()
Thanks to all the sugesstions.
However, as written it will still not accept input after first file copy
(Option 31)
if option 00 is the very first option the menu will terminate as
planned.
if option 31 is the very first option the file will be copied
the menu will reappear
but no further input
Sorry I meant to include the fact that I am running
ActivePerl 5.6.0 Build 613
on Windows 98 SE
Thanks to all the sugesstions.
However, as written it will still not accept input after first file copy
(Option 31)
if option 00 is the very first option the menu will terminate as
planned.
if option
Here's how I would write this -- I don't know if it will work, but you might try
it...
#!perl
use strict;
use warnings;
my $done = 0;
while(!done) {
display_menu();
print == ;
my $choice = ;
chomp $choice;
if ($choice eq '00') { $done++; }
elsif
--- [EMAIL PROTECTED] wrote:
Hi,
Someone recently mentioned that their local HTML
perldocs was automagically regenerated after they
downloaded and installed new modules. Well, mine
never is. I don't care whether it's automagical or
not but is there a way of doing it? I suppose it's
FWIW, I slighly modified this script to fill in options I care about. The
result looked more like the resot of the ActiveState docs - headers included
with red background, links worked, etc.
First I added the following to the bottom of Active.css. This was needed
since pod2html includes to
Morse, Richard E. wrote:
Simon Oliver [mailto:[EMAIL PROTECTED]] wrote:
This probably means that the ODBC driver does not support the function
(GetPrimaryKeys).
As you noted, a trace reveals that this function isn't supported. If the driver
doesn't support SQLPrimaryKeys, would the
[EMAIL PROTECTED] wrote:
$Bill got your $ vs \% problem, but just FYI. In general it is not safe
to store a list of references from DBI methods, many (soon to be all) of
them recycle the ref, so you could end up with an array or hash of
identical refs.
So store a copy of the data referenced
36 matches
Mail list logo