Re: CGI - re-writing the content of the cell on the web page

2004-12-15 Thread Greg Wardawy
avoiding sending the cell with a new value. Thanks again. Greg. - Original Message - From: $Bill Luebkert [EMAIL PROTECTED] To: Greg Wardawy [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 10:11 AM Subject: Re: CGI - re-writing the content of the cell on the web

Re: CGI - re-writing the content of the cell on the web page

2004-12-15 Thread Greg Wardawy
- Original Message - From: $Bill Luebkert [EMAIL PROTECTED] To: Greg Wardawy [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 12:57 PM Subject: Re: CGI - re-writing the content of the cell on the web page Greg Wardawy wrote: Thanks a lot $Bill. I will try all

Re: CGI - re-writing the content of the cell on the web page

2004-12-15 Thread Greg Wardawy
Thanks $Bill. You are absolutely right, it didn't make any sense. I will work on it. Greg. - Original Message - From: $Bill Luebkert [EMAIL PROTECTED] To: Greg Wardawy [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 1:39 PM Subject: Re: CGI - re-writing

CGI - re-writing the content of the cell on the web page

2004-12-15 Thread Greg Wardawy
Hello all, My question is short even though I've spent the last couple of days trying to find the answer and am stumped. What is the trick to force the Server Site Included CGI script to re-write the content of the cell with the new value of the variable? My script (there is, actually a bunch of

Parsing Excel file

2003-09-23 Thread Greg Wardawy
Hello all, I'm not a big fan of Excel files so I was always saving them as csv files before working on the data. Well, it got me two days ago, I tried my old ways and wasn't able to find the right oneand I need your advice. Here is the situation: 1. I have an Excel file in format like below

Re: Parsing Excel file

2003-09-23 Thread Greg Wardawy
Thanks Trevor, Do you know how to save Excel file using "|" instead of comma? I'm looking for it in Excel Help but no luck so far. Greg - Original Message - From: Trevor Joerges [SendMIME Software] To: Greg Wardawy ; Perl-Win32-Users (E-mail) Sen

Re: Parsing Excel file

2003-09-23 Thread Greg Wardawy
ose files with Excel and do a "Save As" xls, you will probably want a parser... -Original Message-From: Greg Wardawy [mailto:[EMAIL PROTECTED]Sent: Tuesday, September 23, 2003 10:34 AMTo: Perl-Win32-Users (E-mail)Subject: Parsing Excel file

Re: Parsing Excel file

2003-09-23 Thread Greg Wardawy
Title: Message sorry to all of you about the HTML posts, I've changed the machine and forgot to change OE settings. And thanks for all your help. Greg - Original Message - From: Adam R. Frielink To: Greg Wardawy ; Perl-Win32-Users (E-mail) Sent: Tuesday, September

Re: Parsing Excel file

2003-09-23 Thread Greg Wardawy
Thanks Lee, It is, probably, a good time to learn Excel OLE but, unfortunately, I have no time. That's not for my boss, that's for my wife so I can't say I quit. Greg - Original Message - From: Lee Goddard [EMAIL PROTECTED] To: Greg Wardawy [EMAIL PROTECTED]; Perl-Win32-Users (E-mail

Re: [OT] Digitally signed posts

2003-07-29 Thread Greg Wardawy
- Original Message - From: Sisyphus [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 6:57 PM Subject: [OT] Digitally signed posts Hi, Such posts are currently showing up in my OE Inbox as attachments. ie the body is empty, the message is in the attachment. This

Freeze and Thaw

2002-03-21 Thread Greg Wardawy
Hello all, I'm having a hard time trying to use (and understand) freeze and thaw from the Storable module. I get the following error: Can't use an undefined value as a HASH reference at G:\Personal\WARDAWYG\PSCRIPTS\Misc\thaw.pl line 5 (#1) but on line 5 I just have: use Storable

Re: Freeze and Thaw

2002-03-21 Thread Greg Wardawy
[EMAIL PROTECTED] 03/21/02 03:59PM $srl_num_item is undefined in the child process, hence the error. What are you trying to do, exactly? The line exec `thaw.pl`; is very odd---you are exec'ing the output of backticks operation, `thaw.pl` (which executes thaw.pl in a new process).

Re: Freeze and Thaw

2002-03-21 Thread Greg Wardawy
On Thursday 21 March 2002 16:59, you wrote: You're right, I was trying to figure out what's wrong and I left exec `thaw.pl`; Here is the siuation: the following script reads the log file and starts the other scripts. Most of them need the same data from the database. I'm trying to

querying once, using several times

2002-03-01 Thread Greg Wardawy
Hello all, I'm trying to figure out how to avoid running the same database query inside the scripts started via a system call from the parent script. It doesn't make much sense to run the same query, build the same hash tables and use their values in all scripts - I should run the query once

Re: querying once, using several times

2002-03-01 Thread Greg Wardawy
[EMAIL PROTECTED] 03/01/02 12:05PM Greg, Look into the Storable package. http://aspn.activestate.com/ASPN/CodeDoc/Storable/Storable.html Tim _ Tim Moose | T R I L O G Y voice (512) 874-5342 fax (512) 874-8500

predeclare freeze (was: querying once, using several times)

2002-03-01 Thread Greg Wardawy
Greg Wardawy [EMAIL PROTECTED] 03/01/02 12:22PM [EMAIL PROTECTED] 03/01/02 12:05PM Greg, Look into the Storable package. http://aspn.activestate.com/ASPN/CodeDoc/Storable/Storable.html Tim _ Tim Moose | T R I L O G Y voice (512) 874-5342 fax

Re: predeclare freeze (was: querying once, using severaltimes)

2002-03-01 Thread Greg Wardawy
Never mind, I've found it. And it works great. Thanks a lot. Greg Greg Wardawy [EMAIL PROTECTED] 03/01/02 01:27PM Greg Wardawy [EMAIL PROTECTED] 03/01/02 12:22PM [EMAIL PROTECTED] 03/01/02 12:05PM Greg, Look into the Storable package. http://aspn.activestate.com/ASPN/CodeDoc/Storable

How to set and print a variable when the line is blank?

2001-06-24 Thread Greg Wardawy
Hello all, I need to extract the data from reports and put it into a csv file. Everything would be just fine but some data is missing and I have to print it as None; some data is entered in different places (i.e. comments) and I need it to be printed out in the same column; there are more

Different number of hash elements

2001-06-18 Thread Greg Wardawy
Hello all, I'm having a problem with the hash table built by querying the database. I'm getting a different number of hash elements when I'm printing them from the while loop and from the foreach block. I don't need to count and print them but I wanted to check if I'm getting everything

Term::ANSIColor

2001-03-17 Thread Greg Wardawy
Hello all, I need to use Term::ANSIColor but the following simple test: #!perl use Term::ANSIColor; print color 'bold blue'; print "This text is bold blue.\n"; print color 'reset'; print "This text is normal.\n"; print colored ("Yellow on magenta.\n", 'yellow

Re: Term::ANSIColor

2001-03-17 Thread Greg Wardawy
"Ron Grabowski" [EMAIL PROTECTED] 03/17/01 11:46AM ?[1;34mThis text is bold blue. ?[0mThis text is normal. ?[33;45mYellow on magenta. ?[0mThis text is normal. in the dos box. Do I need to change something in my environment variables? This question was asked last week(?).

Re: Term::ANSIColor

2001-03-17 Thread Greg Wardawy
"Sisyphus" [EMAIL PROTECTED] 03/17/01 05:09PM - Original Message ----- From: Greg Wardawy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, March 18, 2001 5:42 AM Subject: Re: Term::ANSIColor "Ron Grabowski" [EMAIL PROTECTED] 03/17/01 11:46AM

Re: Net::FTP please test

2001-03-07 Thread Greg Wardawy
"Marcus" [EMAIL PROTECTED] 03/06/01 06:30PM I have a bit of a puzzle here. Below is a very short, totally basic Net::FTP script. All it does is connect and then disconnect. _I_ get the following error when it is compiled with Perl2Exe version 4.03, but no error from the Perl

Re: Freestanding Net::FTP once again

2001-03-03 Thread Greg Wardawy
Net/ftp.pm line 21.' when I'm running a freestanding exe. And nothing is transferred. Greg - Original Message - From: "Greg Wardawy" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 27, 2001 4:25 PM Subject: Freestanding Net::FTP once again Hello all, I

RE: Repeated pattern matching

2001-02-28 Thread Greg Wardawy
TED] www.encad.com -Original Message- From: Greg Wardawy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 27, 2001 10:07 AM To: [EMAIL PROTECTED] Subject: Repeated pattern matching Hello all, To extract data from the following text: -snip- The SDQ line can have up to 10 pairs stor

Freestanding Net::FTP once again

2001-02-27 Thread Greg Wardawy
Hello all, I was trying to figure out why the NetFTP perl script works fine and the freestanding exe built using PerlApp doesn't - no luck so far. Here is the situation - the perl script works fine, everything is transferred to the current directory, no errors, no warnings but from the

if elsif else

2001-02-14 Thread Greg Wardawy
Hello all, For the following structure of the data: Liine1 Line2 Line3 Line4 Line5a Line6a Line7a Line7b Line7c Line6b Line7d Line7e Line7f Line6c Line7g Line7h Line7i Line5b . . . Line8 this gives me Unrecognized for the lines 6 and 7:

Re: if elsif else

2001-02-14 Thread Greg Wardawy
bstr ($_, 0, 10), "\n"; } } if (length ($data) 0 $customer $asn_num $ult_recv $cont_num) { store_data ($customer, $asn_num, $ult_recv, $cont_num, $data); } output_data($imptasn_file); show_customers (); untie %all;

RE: next unless

2001-02-11 Thread Greg Wardawy
st can probably yell at me if I'm really off base.) -Paul Newell From: Greg Wardawy [mailto:[EMAIL PROTECTED]] What I'm trying to do is: Print DOC HEADER, HEADER, EDI_ASN and then the first EDI_CONT line with EDI_CONT_D lines, skip everything up to the second EDI_ASN_D line, ski

multiply hash keys - reversed hash

2001-02-07 Thread Greg Wardawy
Hello all, I have to extract the data from the text file and I'm trying to do that using the hash. The problem is that this hash has a multiply keys with a unique values for which I have to print the data. The script below prints the data just for the last value of the key - for the key ea.

next unless again

2001-02-06 Thread Greg Wardawy
Oops. I forgot about the input file. Sorry. Greg edasnpb1.udf

Re: next unless

2001-02-06 Thread Greg Wardawy
"Ron Grabowski" [EMAIL PROTECTED] 02/06/01 12:58PM while (ASN) { if (/^FILEHEADER/) { #ignore } elsif (/^DOC HEADER(\d+)/) { s/(DOC HEADER)(3 )/:ASNLNT: /; print; } elsif (/^HEADER/) { chomp; @fields = split(/~/, $_,); print join('~',

RE: next unless

2001-02-06 Thread Greg Wardawy
"Newell, Paul" [EMAIL PROTECTED] 02/06/01 01:25PM I'm not sure what I'm missing here, but how would $_ match /^EDI_ASN_D/ and /^EDI_CONT_D/ in the same block where no reassignment of $_ occurs. From: Greg Wardawy [mailto:[EMAIL PROTECTED]] } elsif (/^EDI_CONT_D/) {

Thanks a lot!

2000-11-29 Thread Greg Wardawy
Hello all, I just wanted to tell you how helpful and powerful this list is. I spent a few days trying to find an error in my code and right after I pasted a part of code into the mail I was going to send to the list I found what was wrong! Go to way, List! Thanks again. Greg