Re: Which DBD -Module do I need??

2001-06-08 Thread Ray Barker
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

Re: counting problem

2001-06-08 Thread Ray Barker
-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

Re: Can't seem to get my match to work...

2001-07-13 Thread Ray Barker
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

Re: DBI question (again)

2001-08-02 Thread Ray Barker
>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();

Re: problems with a for-loop

2001-08-10 Thread Ray Barker
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

Re: PERL IS NOT A HIGH LEVEL LANGUAGE

2001-08-17 Thread Ray Barker
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

Re: perl GUI

2001-08-21 Thread Ray Barker
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

Re: Accessing an oracle database with a DBI

2001-08-29 Thread Ray Barker
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

Re: How can i use Sybase with Perl ??

2001-09-11 Thread Ray Barker
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

Re: Tables help

2001-06-06 Thread Ray Barker
-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:

Re: executing an application within a perl script

2001-10-20 Thread Ray Barker
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