Re: Really stuck: DBI, mysqlPP.

2002-12-31 Thread Craig Williams
hehe ok, partly right. I did; @$fields = $sth->{NAME}; Craig "Jenda Krynicky" <[EMAIL PROTECTED]> wrote in message 3E11CE1A.16361.36E9ED7D@localhost">news:3E11CE1A.16361.36E9ED7D@localhost... > From: "Craig Williams" <[EMAIL PROTECT

Re: Really stuck: DBI, mysqlPP.

2002-12-31 Thread Craig Williams
t">news:3E11A19B.15415.363C20E1@localhost... > To: [EMAIL PROTECTED] > From: "Craig Williams" <[EMAIL PROTECTED]> > Subject:Really stuck: DBI, mysqlPP. > Date sent: Tue, 31 Dec 2002 00:48:44 - > > > Ok, firstly -

Re: Really stuck: DBI, mysqlPP.

2002-12-31 Thread Craig Williams
>errstr . "\n"; my $row; while(@row = $sth->fetchrow_array) { print "$row[0] \n"; } $sth->finish; Dan -Original Message- From: Craig Williams [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 6:49 PM To: [EMAIL PROTECTED] Subject: Really stuck: DBI, m

Really stuck: DBI, mysqlPP.

2002-12-31 Thread Craig Williams
Ok, firstly - I don't believe this is a mysql issue as I have a working server which I can prove and the fact I've just learnt Perl was my reason for posting here, maybe I've screwed up the syntax. I just installed the modules for DBI and MySQL and they seem to work great except for one aspect. Ge

Re: Does Perl have to be installed ?

2002-12-30 Thread Craig Williams
--- > On Mon, 30 Dec 2002 02:44:55 -, "Craig Williams" <[EMAIL PROTECTED]> wrote: > > > Sounds crazy I know but if I'm on a customers side with my CD of pl scripts > > I don't want to have to install Perl on their > > servers

Does Perl have to be installed ?

2002-12-30 Thread Craig Williams
Sounds crazy I know but if I'm on a customers side with my CD of pl scripts I don't want to have to install Perl on their servers just to run my code. Can I just put the binary files on the CD and run them ? thanks Craig -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: setting up mysql and DBI package on win98

2002-12-30 Thread Craig Williams
You can't install mysql as a service on 98 so you must run the daemon from the command prompt. Not even sure it works on 98 to start with. C "Patricia Hinman" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have set up mysql application server on my pc, and >

More structure to my code

2002-12-30 Thread Craig Williams
I don't want to keep all my code for a script in one file. Do I have to use modules to break apart the code ? Is there anyway to just include a .pl file ? Modules used this way are a pain because they must be put into /site/lib to work ..? I have searched google and docs and even my books on perl

RE: :telnet and read eof error

2002-03-13 Thread Craig Williams
solved my own problem reinstalled the net::telnet module, somebody screwed with the module code -Original Message- From: Craig Williams [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 12:31 PM To: Beginners@Perl. Org (E-mail) Subject: net::telnet and read eof error In

net::telnet and read eof error

2002-03-13 Thread Craig Williams
In my first attempt at telneting into sun box from win98, i've been receiving the error message : pattern match read eof at scriptName.pl line xx-- where xx is the login line. Unable to resolve that error through the usual methods I tried executing the rainmaker sample in the documentati

net::telnet and ActivePerl

2002-02-28 Thread Craig Williams
Running ActivePerl 5.6.1 and using the net::telnet module i get the following error: Argument "" isn't numeric in numeric gt (>) at C:/Perl/lib/Net/Telnet.pm line 2569. The script generating this is : #!perl -w use Net::Telnet; $telnet = new Net::Telnet ( Timeout=>10,

perl2exe

2002-02-27 Thread Craig Williams
Does anyone know - will perl2exe (or a different package to create an .exe) allow a perl script to be launched from windows explorer EVEN THOUGH the script is written for unix (and is sitting on a unix netowrk drive)? I have many perl scripts my users would find useful but all written to run on u

RE: change all files in directory

2002-02-01 Thread Craig Williams
Somewhat related question: I want to ADD a file extension (there currently none)to all files that start with "FOO" so they will be named FOO.txt Is there a one liner that can accomplish this? -Original Message- From: Hanson, Robert [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2

appending to a file

2002-01-15 Thread Craig Williams
I'm probably missing something obvious here, but heck it's a beginners list. the first time the log file is generated it contains the correct data. However any time it tries appending data to the existing log file, nothing gets written to it. Any help is appreciated. #gather log data open (FH