Unless you want to use DBD in particular, since you're using an MS
database, you might be happier with using:
WIN32::OBDC
I've used it and am pretty happy with it
-Original Message-
From: Paul Counsell <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: June 08, 2001 2:53
-Original Message-
From: Raven <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: June 08, 2001 3:23 AM
Subject: counting problem
>Hi
>
>Can anyone help me with a script that I have made?
>It is a script who are going to add users to a passwd file.
>
>It works fine when
you want that to be:
$strip =~ /\w+/; #??
see the ~ thingie
-Original Message-
I'm running perl version 5.005_03 and I have a simple
match and capture that I can't seem to get to work.
while () {
$strip = /\w+/;
print "$strip \n";
}
This just returns to me
>Extracted from the perl cookbook
>
>use DBI;
>
>$dbh = DBI->connect('DBI:driver:database', 'username', 'auth',
>{ RaiseError => 1, AutoCommit => 1});
>$dbh->do($SQL);
>$sth = $dbh->prepare($SQL);
>$sth->execute();
>while (@row = $sth->fetchrow_array) {
># ...
>}
>$sth->finish();
Hi Birgit--
I am probably missing something, but the thing I see is that you have
used the my keyword inside your loop in this statement:
> my @db_cols = @cols; # now we set the field names to those of db2
which we
> my ($status2, @hits2) = &query('view'); # sub query does the actual
search
tha
Hi all--
Please add my 32 years of programming experience to the perl is a
high level language side. Good thing "will" didn't suggest that some
python experience would be adequate for entrance to the class!
I don't think that it will be profitable for you to argue with a
professor on this subje
You can use glade to build your Gnome interface:
http://glade.gnome.org/
and then use glade-perl to link to perl
http://www.glade.perl.connectfree.co.uk/index.html
I've used glade with C and it works pretty well. Trying it with perl
is on my things to do list.
also look at wxWindows
-Origin
You could use ODBC if you have the ODBC driver installed for oracle
(I'm just assuming that oracle has an ODBC driver.) You would need
the Win32::ODBC module, which you could get Win32::ODBC using ppm
from the ActiveState site.
*I* think a better way is to use DBI. You'll need DBD::Oracle and
D
http://dbi.perl.org/
-Original Message-
From: Mcgregory Pinto <[EMAIL PROTECTED]>
To: Perl Beginners <[EMAIL PROTECTED]>
Date: September 11, 2001 3:04 AM
Subject: How can i use Sybase with Perl ??
Hello ...
How can i use sysbase with perl ??
Any information, sites, tutorials, etc ... ar
-Original Message-
From: Diego RiaƱo <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: June 06, 2001 9:15 PM
Subject: Tables help
>Hi everybody
>
>I am working on some kind of files and i have to change the format
and
>get a table.
>
>thes files had the following form:
use system or exec
system ('c:\"Program Files"\Accessories\wordpad.exe');
perldoc -f system
perldoc -f exec
note that system doesn't work as expected on windows apps. it
returns immediately after the app starts OK.
-Original Message-
From: phumes1 <[EMAIL PROTECTED]>
To: [EMAIL PROTECT
11 matches
Mail list logo