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, Dece

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 War

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

2004-12-15 Thread Greg Wardawy
ebkert" <[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 page Greg Wardawy wrote: Hello all, My question is short even though I&

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

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 W

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: Tu

Re: Parsing Excel file

2003-09-23 Thread Greg Wardawy
ou open those 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

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)

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 one and I need your advice. Here is the situation: 1. I have an Excel file in format like below

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.

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 t

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 proc

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 qw(fre

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 >>> >>> <

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 _

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 ___

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

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 th

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 beca

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 >>&g

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 we

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: 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 in

Re: Freestanding Net::FTP once again

2001-03-03 Thread Greg Wardawy
ut still have 'Can't locate package Net::LocalCfg for @Net::Config::ISA at 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 PRO

RE: Repeated pattern matching

2001-02-28 Thread Greg Wardawy
curiosity, what application outputs this type of datafile? Peter Guzis Web Administrator, Sr. ENCAD, Inc. email: [EMAIL PROTECTED] www.encad.com -Original Message- From: Greg Wardawy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 27, 2001 10:07 AM To: [EMAIL PROTECTED]

Re: Freestanding Net::FTP once again

2001-02-28 Thread Greg Wardawy
rors. Dirk Bremer - Systems Programmer II - AMS Department - NISC 636-922-9158 ext. 652 fax 636-447-4471 <mailto:[EMAIL PROTECTED]> - Original Message - From: "Greg Wardawy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 27, 20

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 freest

hash key with a regexp

2001-02-20 Thread Greg Wardawy
Hello all, Is it correct to say: print if $var1 == $hash{$key =~ /$var2\d+/}; or: print if $var1 == $hash{$key\d+}; if I need a conditional print for all keys of the hash which starts with $var2? The reason I'm asking is that I have a comma separated list: LT00430,31 LT00432,32 LT00504,33

Mail::Sender - sending a file with a variable filename

2001-02-19 Thread Greg Wardawy
Hello all, Is there any way to send a file with a variable filename i.e. vendor$date (where $date = "0219.csv") using the Mail::Sender? Everything works fine if I put: file => 'vendor0219.csv' but it doesn't when: file => 'vendor$date' TIA Greg __

Re: if elsif else

2001-02-14 Thread Greg Wardawy
;store_data ($customer, $asn_num, $ult_recv, $cont_num, $data); } &output_data($imptasn_file); &show_customers (); untie %all; close ASN; - Original Message - From: "Greg Wardawy" <[EMAIL PROTECTED]> To: <

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: next unless

2001-02-11 Thread Greg Wardawy
omeone on the list 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, sk

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. LT

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

Re: next unless

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

next unless again

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

next unless

2001-02-06 Thread Greg Wardawy
Hello all, I'm having a problem with next unless - strange because it was working for me a few weeks ago, it doesn't now and I can't figure out why. I'm processing a text file in two steps because I don't know how to do that in one step: First step: Getting rid of unnecessary data, some chan

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 __

RE: Thanks a lot!

2000-11-29 Thread Greg Wardawy
Oops. It should be: "Way to go" Greg ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users