Re: re-convert

2001-12-19 Thread fliptop
Connie Chan wrote: > Since we know this : $string =~ s/([a-fA-F0-9][a-fA-F0-9])/pack ("C", > hex($1))/eg; > > is a statement which can converting back the "real string" from > a form field, but, could anybody tell how to convert the "real string" > to the "long long" string ?? > > Besides, any

re-convert

2001-12-19 Thread Connie Chan
Since we know this : $string =~ s/([a-fA-F0-9][a-fA-F0-9])/pack ("C", hex($1))/eg; is a statement which can converting back the "real string" from a form field, but, could anybody tell how to convert the "real string" to the "long long" string ?? Besides, anybody can tell what is the exactly me

RE: What is the source of the error (listed below, its lengthy)

2001-12-19 Thread Bob Showalter
> -Original Message- > From: Colby [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 19, 2001 4:08 PM > To: [EMAIL PROTECTED] > Subject: RE: What is the source of the error (listed below, > its lengthy) > > > On Wed, 2001-12-19 at 13:51, Bob Showalter wrote: > This warning is c

RE: What is the source of the error (listed below, its lengthy)

2001-12-19 Thread Colby
On Wed, 2001-12-19 at 13:51, Bob Showalter wrote: This warning is caused by the space between "print" and the opening paren. You can suppress the warning by writing: print( qq| # note no space after print instead of print ( qq| Okay, I took out

RE: What is the source of the error (listed below, its lengthy)

2001-12-19 Thread Bob Showalter
> -Original Message- > From: Colby [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 19, 2001 3:25 PM > To: [EMAIL PROTECTED] > Subject: What is the source of the error (listed below, its lengthy) > > > When I run my index.pl script from the command line I get the > following > o

What is the source of the error (listed below, its lengthy)

2001-12-19 Thread Colby
When I run my index.pl script from the command line I get the following output: print (...) interpreted as function at ./index.pl line 10. Content-Type: text/html; charset=ISO-8859-1 Use of uninitialized value in concatenation (.) or string at ./index.pl line 10. Use of uninitialized value in co

Form to Flatfile

2001-12-19 Thread Fred Sahakian
Hi Folks, Here's my dilema. Im trying to send data to a flatfile through a form. When the form passes carriage returns to the flat file I get data that looks like this: 2|12/19/01-09:57|dfddfadfafd|[EMAIL PROTECTED]|tes|start my sentence 1|02/20/01-23:01|Ken|[EMAIL PROTECTED]|Miami|FL||This i

Re: Problem passing "action" parameter from a form

2001-12-19 Thread Curtis Poe
--- fliptop <[EMAIL PROTECTED]> wrote: > try doing this: > > use CGI; > use Data::Dumper; > my $Q = new CGI; > my $ACTION = $Q->param('action') || ''; > print "ACTION: ", Dumper($ACTION); > > and see what you're getting for $ACTION Perhaps even better would be to do this: print Dumper( $Q

Re: Problem passing "action" parameter from a form

2001-12-19 Thread fliptop
[reply cc'd to list] Kris Seraphine wrote: > yes it is. unless you have it spelled wrong in the form, i don't see why it shouldn't be working. try doing this: use CGI; use Data::Dumper; my $Q = new CGI; my $ACTION = $Q->param('action') || ''; print "ACTION: ", Dumper($ACTION); and see what

Re: RegExp fails on server

2001-12-19 Thread fliptop
Steven Vargas wrote: > Does someone know of a good way to count total records for the week? I can > get total for day and month, but the week totals fail, returning 0 (for some > reason they work when I execute the program from the shell). I've shown > below snippets of the code and subroutine, s