re: test--do not reply--this is only a test

2006-08-02 Thread Eric Edwards
  ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: perl error

2006-07-24 Thread Eric Edwards
rl). Then, find 'perldiag' in the menu on the left. It lists all warning messages, and the identifier to use with "no warnings" to turn it off. Perhaps someone who uses Linux/Unix can post how to get to this page, perhaps something like "man perldiag" or "man

RE: perl error

2006-07-23 Thread Eric Edwards
Eric Edwards replied: Charles, That was the problem. In my table there is one field that is blank a lot of the time and it showed as 'undef' when I ran the 'Dumper'. So, I added a default value to that field and the warning did not come up. A lesson well learned. Thank

perl error

2006-07-23 Thread Eric Edwards
Hello list, My program reads the data from the table and prints it out just fine.  The problem is it prints a warning on every other line that I have an uninitialized value in the string at line 22.  I put at the beginning and end of the code it is talking about.  I can’t figure out w

RE: How to: load array into Hash

2006-07-16 Thread Eric Edwards
$Bill wrote: Note the line above with ^^ under it. Isn't that setting %hash to @array ? > my %hash = @array; The code snippet was hardly sufficient if it doesn't compile or produce any output. Show me a complete code snippet that fails. Eric

RE: How to: load array into Hash

2006-07-16 Thread Eric Edwards
$Bill wrote: When you post code, post a small complete failing snippet with any input and output examples: use strict; use warnings; use Data::Dumper; $Data::Dumper::Indent=1; $Data::Dumper::Sortkeys=1; my @array = (Key1 => 'Value1', Key2 => 'Value2', Key3 => 'Value3', Key4 => 'Value4'); my %hash

RE: How to: load array into Hash

2006-07-16 Thread Eric Edwards
Michael, As far as I know, that is the way to do it. Have you tried accessing the hash? Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael D. Smith Sent: Sunday, July 16, 2006 7:26 PM To: perl-win32-users@listserv.ActiveState.com Subject: RE: How

RE: OLE - GETTING EXCEL CELL NAMES

2006-05-14 Thread Eric Edwards
Hello Jagdish, I have not gotten that far into Excel with perl yet, but Ken Baker sent me this url which looks pretty inclusive to me. http://search.cpan.org/~jmcnamara/Spreadsheet-WriteExcel-2.16/lib/Spreadshee t/WriteExcel.pm#set_header(%24string%2C_%24margin HTH, Eric -Original Message---

RE: Perl and Excel

2006-05-01 Thread Eric Edwards
Hey Ken, Thanks a lot! That looks like the whole thing, right there.  I believe that is all I will need.  I had no idea that existed. Thanks again, Eric   -Original Message- From: Ken Barker [mailto:[EMAIL PROTECTED] Sent: Monday, May 01, 2006 7:36 PM To: Eric Edwards; perl

Perl and Excel

2006-05-01 Thread Eric Edwards
Hello List, I am looking for information on using Perl with Excel spread-sheets.  I have found several articles on the subject, but not a book. Is anyone aware of a good book on using Perl with Excel(to create and maintain excel fields and spread-sheets)? Thanks, Eric

RE: list dead?

2006-03-12 Thread Eric Edwards
Just got your message. Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Wagner Sent: Sunday, March 12, 2006 9:40 PM To: perl-win32-users@listserv.ActiveState.com Subject: list dead? I haven't gotten any list traffic for several days and I don't

Perl in TextPad

2006-03-07 Thread Eric Edwards
Title: Message Hello List, Got my Perl in TextPad configuation problem resolved.  I was putting my program path on the wrong line. Thanks to all who replied for the help. Eric   ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveSta

RE: Perl in TextPad

2006-03-06 Thread Eric Edwards
Hello List, Is anyone out there editing Perl using TextPad? If so, I need some info on how to configure it. Can you contact me off list as I am sure this is off topic. Thanks, Eric [EMAIL PROTECTED] ___ Perl-Win32-Users mailing list Perl-Win32-Users@

re: download mysql database version 5.0

2005-12-04 Thread Eric Edwards
Hey List, I have tried 5 separate times to download the new version of mysql database, but every time the download finishes in either save or run mode my computer restarts and the download is gone. I am running windows xp pro sp2. Has anyone had a similar experience? Thanks, Eric __

re: download new perl version

2005-11-23 Thread Eric Edwards
Hey list, Thought I'd pass this on. Last night I tried 3 times to download the new version of Perl and was using the "save" mode. This was after I had removed version 5.6 from my system. Right before the download was completed my computer rebooted automatically each of 3 times. I was downloading t

RE: Question about comparing "lists"

2005-11-19 Thread Eric Edwards
Scott, Just looking at your files, why don’t you read your second file In a line at a time and do a split at each space into an array and then search the array for the user id’s. Then do something with the line from file 2 and read in the next line from file 2. Eric   -Original Mes

RE: Processing numbered files sequentially -- 10,000 at a time

2005-09-26 Thread Eric Edwards
Craig wrote: Is there a loop I can use that will process the first 10,000 files, then exit; then the next 10,000 files, then exit; and so on until all files have been processed? The exiting is so I can run a SQL Server job to insert the processed files into SQL Server. -- Craig Eric replied: Cr

re: Test only, do not reply

2005-09-19 Thread Eric Edwards
___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: perl and mysql

2005-04-03 Thread Eric Edwards
Chris Wagner wrote: Are u talking about a Windows user? MySql doesn't have that. The MySQL user is set up inside MySQL and has nothing to do with Windows. Get MySQLCC from their website, it'll let u setup and control the user permissions. It's also documented in the manual. Eric replied: Hey,

RE: perl and mysql

2005-04-02 Thread Eric Edwards
Chris Wagner wrote: How are u accessing MySQL? DBI? U probably have to add permission in MySQL for ur script user to access it. U need [EMAIL PROTECTED] because localhost is not covered by the [EMAIL PROTECTED] wildcard. Eric replied: Yes, using DBI. I was advised to set up IUSR_computer_name as

perl and mysql

2005-04-02 Thread Eric Edwards
Hello List, I am new to this list and need some help. My os is win xp pro. I have installed MySql and Perl. When I run a straight SQL statement to create a db and a table and populate the table with some data, all is fine. When I then run a CGI program to get data from the db and table I get an

RE: ppm

2004-07-06 Thread Eric Edwards
are working against.. MS SQL Server can use the generic DBD::ODBC module, where as DBD::mysql would help you with mysql. Steven Steven, That is exactly what I get. Thanks, Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Edwards Sent: Tuesday, Ju

RE: ppm

2004-07-06 Thread Eric Edwards
est you to install the latest version of the module... Thanks, that's most likely what it is. Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eric Edwards Sent: Tuesday, July 06, 2004 8:18 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: ppm

RE: ppm

2004-07-06 Thread Eric Edwards
ge- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eric Edwards Sent: Tuesday, July 06, 2004 9:35 AM To: [EMAIL PROTECTED] Subject: ppm Hey Listers, Being a Perl newbie I have another question. I installed the latest version of Perl(5.8). I did a ppm search DBI. A list of 235 m

ppm

2004-07-06 Thread Eric Edwards
Hey Listers, Being a Perl newbie I have another question. I installed the latest version of Perl(5.8). I did a ppm search DBI. A list of 235 modules was brought and numbers 46-52 were all the same. They were all called DBI. How do I know which one to install? Thanks, Eric

RE: Perl Tk

2004-05-27 Thread Eric Edwards
Jack D replied: > > I am studying Tk using "Mastering Perl TK". I found the below listed code > in the book and got it working, > > Added some stuff to it and it seems to be working OK. I wanted to add > "$textundo->Save(?pathname?) > > so that it saves the contents of the widget to a file.

RE: Perl Tk

2004-05-27 Thread Eric Edwards
he info. Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eric Edwards Sent: 27 May 2004 02:49 To: [EMAIL PROTECTED] Subject: re:Perl Tk Perl Tk Gurus, I am studying Tk using "Mastering Perl TK". I found the below listed code in the book and got

RE: Splitting on '\'

2004-05-25 Thread Eric Edwards
Splitting on '\' I tried searching the archives but for some reason I can't get there today. $String = "\Test1"; or $String = \test1\test2\test3"; When I try: @Array = split("\\",$String); I get: Trailing \ in regex m/\/ at [Script] line [Line] Why? How do I split a string on \ without

RE: weird stuff in incrementing "for" loop with Perl

2004-05-23 Thread Eric Edwards
Brian, This is just the way your computer and mine also deal with some numbers. I would try formatting the number with a "printf()" or use a rounding function. That would solve your problem. Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Gibs

Re: perl cgi

2004-03-25 Thread Eric Edwards
Edwards wrote: > > Hello List! > > I need some help. > > I know very little about CGI and HTML. > > The book I am using is "Learning Perl on Win32 Systems". > > I cannot get this program to work properly. I can get the form to come up > > but when I enter a value it brings up a download box and di

re:perl cgi

2004-03-25 Thread Eric Edwards
Hello List! I need some help. I know very little about CGI and HTML. The book I am using is "Learning Perl on Win32 Systems". I cannot get this program to work properly. I can get the form to come up but when I enter a value it brings up a download box and displays my code. If this works like othe

re:write to fille

2004-03-12 Thread Eric Edwards
Hello list, I added a -w and -e and both return false. But the file is created and out there. When I change the format to STDOUT it prints the format to the screec just as it should. But it won't write the format to the file because it can't find the file. Any suggestions? Thanks much! Eric #!/usr

Re: variables not being valued

2004-03-01 Thread Eric Edwards
From: "$Bill Luebkert" Modified script - bad line commented out in good_word . Thanks $Bill. If I would have put "use strict" in mu program I would have caught most of those problems at the start. Thanks a bunch for the help and showing me a different way to do things. Er

variables not being valued

2004-03-01 Thread Eric Edwards
Hello listers, I am using "Learning Perl on Win 32 Systems" and am having a problem(a pretty hasic problem) with one of the programs in the book. I cammot get the variables $somename and $someguess to value. I have checked and de-bugged this thing amd can't figure out what is wrong. Maybe I have

Re: ASP.NET mailing lists?

2004-01-30 Thread Eric Edwards
Richard, I am sure in your studies you have been to this url, but just in case you haven't--you might try this: http://www.w3schools.com/ Eric - Original Message - From: "Richard Morse" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 30, 2004 12:41 PM Subject: OT: ASP.NET

Re: just checking

2004-01-12 Thread Eric Edwards
Read you loud and clear. Eric - Original Message - From: Tfbsr Bertrand To: perl perl ; perl1 perl1 Sent: Monday, January 12, 2004 2:32 PM Subject: just checking Have not received any message today, have I been removed?...how do I find out?   Thanks

Re: /T in date

2003-12-22 Thread Eric Edwards
Eric wrote: I had tried that at the command line before I sent out this last message. The /T worked in my perl program but not at the command line--just trying to understand why. Eric Tobias Hoellrich wrote: > > C:\>date /? > Displays or sets the date. > > DATE [/T | date] > > Type DATE with

Re: /T in date

2003-12-22 Thread Eric Edwards
Eric wrote: My error. My apologies. Its been a crazy day. Eric > $Bill wrote: It was already answered in that thread. Without the /T, the > date builtin will prompt for a new date (or type CR to just > print it out). So without the /T it will hang waiting for > the new date or CR to be typed.

/T in date

2003-12-22 Thread Eric Edwards
Hello list- $Bill sent me this code today. It works. The /T is what made it work on my windows system. I have been looking all over to find out what and why that makes it work. print `cmd /C date /T`, "\n"; Any ideas? Thanks! Eric ___ Perl-Win32-Users

Re: set up unix code on windows

2003-12-20 Thread Eric Edwards
From: "$Bill Luebkert: Try execing the shell instead of dir directly (which is a shell > builtin) then : > chdir '/' or die "Can't chdir to root directory: $!"; > exec 'cmd /C dir' or die "Can't exec dir: $!"; Eric wrote: Thanks! That worked. The book I am using didn't give any other directions

Re: set up unix code on windows

2003-12-19 Thread Eric Edwards
", "-l" or die "Can't exec ls: $!"; > I tried changing the exec to exec "dir" and still won't work. I am still trying to get a handle on this. > Other than that, it should work if you have a copy of ls hanging > around on your system. Otherw

Re: set up unix code on windows

2003-12-19 Thread Eric Edwards
quot; or die "Can't chdir to root directory: $!"; exec "dir", "-l" or die "Can't exec ls: $!"; > > RD > > --- Eric Edwards: original question: > > List, > > My perl book says this is Unix code. How would I > > code this to wo

set up unix code on windows

2003-12-19 Thread Eric Edwards
List, My perl book says this is Unix code. How would I code this to work on windows? !/usr/bin/perl chdir "/" or die "Can't chdir to root directory: $!"; exec "ls", "-l" or die "Can't exec ls: $!"; Thanks! Eric ___ Perl-Win32-Users mailing list [EMAIL P

Re: message replies

2003-12-18 Thread Eric Edwards
> On 12/17/2003 12:59 PM, Eric Edwards wrote: > > > Hello Listers, > > In an effort to do it right, I am asking for guidance and direction. > > Would someone please reply to this message in the proper manner so I can see > > how it should be done. I promise not to to

Re: unlink

2003-12-16 Thread Eric Edwards
It gives me the correct directory and filename but it does not delete the file. Eric - Original Message - From: "Randy W. Sims" <[EMAIL PROTECTED]> To: "Eric Edwards" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, December 16, 2003 10:47

unlink

2003-12-16 Thread Eric Edwards
Hey Listers- This is not homework. I am teaching myself perl. Question: Does the unlink command not work on windows? The book I am using has some code examples using it but I am wondering if it might be UNIX specific. I hope my code isn't that bad. Thanks! Eric _