installing DBD::mysql

2005-03-03 Thread Adamiec, Larry
I am trying to install the mysql drivers using CPAN. I am runnig Solaris 9 on a Sparc server. I entered: perl -MCPAN -e shell then install Bundle::DBD::mysql The final screen and a half of output is here: Checking if your kit is complete... Looks good Using DBI 1.47 (for perl 5.008 on

RE: www.perldoc.com

2005-02-28 Thread Adamiec, Larry
I can ping www.perdoc.com successfully but I can't bring up a web page. I am located in downtown Chicago Larry -Original Message- From: Ron Goral [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 08:50 To: Gavin Henry; beginners@perl.org Subject: RE: www.perldoc.com

RE: Search And Replace

2005-01-07 Thread Adamiec, Larry
-Original Message- From: William Black [mailto:[EMAIL PROTECTED] Sent: Friday, January 07, 2005 08:42 To: beginners@perl.org Subject: re: Search And Replace Hello All I'm tryiing to search and replace in both perl and korn shell. For Example: X=G1234V00 I want to

RE: FTP automatic

2004-12-03 Thread Adamiec, Larry
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 13:36 To: [EMAIL PROTECTED] Subject: FTP automatic HI! I need to do something to automatize one process. When a file in directory reach 1 GB I need transfer file for

RE: Sufficient effort

2004-12-01 Thread Adamiec, Larry
-Original Message- From: Gunnar Hjalmarsson [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 15:45 To: [EMAIL PROTECTED] Subject: Sufficient effort In another thread the list admin, Casey West wrote: Gunnar Hjalmarsson wrote: there may or may not be volunteer

reg expression in an if test

2004-11-11 Thread Adamiec, Larry
I am testing a small piece of code before inserting it into a large program. I have one field where the user will insert a 9 character string. The first character must be an upper case 'L' while the remainder must be digits. Does Perl have any type of toupper function? I know I can use the

FW: reg expression in an if test

2004-11-11 Thread Adamiec, Larry
-Original Message- From: JupiterHost.Net [mailto:[EMAIL PROTECTED] Sent: Thursday, November 11, 2004 15:17 To: [EMAIL PROTECTED] Cc: Adamiec, Larry Subject: Re: reg expression in an if test Does Perl have any type of toupper function? I know I can use

CGI.pm info on the web

2004-10-26 Thread Adamiec, Larry
This link may be of help to some people. http://www.samag.com/documents/s=9408/ur0411l/ Larry Adamiec -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

syntax differences and performance

2004-10-25 Thread Adamiec, Larry
Given the following lines: $MESSAGE .= PApplication Fee: B . $price . Dollars U.S./B; $MESSAGE .= PApplication Fee: B$price Dollars U.S./B; Is there a performance issue (or any other issue) for using either of the above lines? Does it make any difference which is used? Suppose it changed to

bad name error

2004-10-21 Thread Adamiec, Larry
I have a CGI script with 865 lines that I am trying to debug for syntax errors. The top few lines are: #!/usr/local/bin/perl -c # # Title: jd_application.cgi # use strict; use warnings; use CGI; use LWP::UserAgent; use lib '/opt/content/web/www-https/secure-docs/perl-api'; use

RE: bad name error

2004-10-21 Thread Adamiec, Larry
snip What does Bad name after question_19_date_one' mean? I went thru the CGI code and the html code and the form names compare OK. Perldoc does not have any entry on this topic unless I am looking for the wrong things. I found this in internet land. Bad name after %s:: (F) You

RE: form posting

2004-10-19 Thread Adamiec, Larry
-Original Message- From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED] Sent: Monday, October 18, 2004 21:04 To: Adamiec, Larry Cc: [EMAIL PROTECTED] Subject: Re: form posting Adamiec, Larry wrote: I am still trying to post form data from a secure UNIX web server to an ASP

RE: form posting

2004-10-19 Thread Adamiec, Larry
snip From what I read, there isn't any operator after POST and line works so I believe an operator isn't needed. Thank you for your help. Larry Ah, yep. POST is a method provided by HTTP::Request::Common, interesting. Of course that sort of begs the question, why

form posting

2004-10-18 Thread Adamiec, Larry
I am still trying to post form data from a secure UNIX web server to an ASP script on a windows server. The following code works: #!/usr/local/bin/perl # use strict; use warnings; use HTTP::Request::Common; use CGI; use LWP::UserAgent; my $ua = LWP::UserAgent-new; my $query=new CGI; my $res =

RE: form content passing

2004-10-14 Thread Adamiec, Larry
ReadParse; Oi, first off don't do this use CGI 'param'; instead I have used CGI 'param' before. Don't know why I didn't use here. my $ua = LWP::UserAgent-new; my $req = POST 'http://some_server/test2.asp', [ hidden_1 = 'XXaaXX', hidden_2 =

form content passing

2004-10-13 Thread Adamiec, Larry
Hello, I am having troubles getting started. I have a Unix (Solaris 9) cgi script which parses a form, processes the contents of the form, and then sends it to a Windows ASP script for more processing and insertion into a Access database. I haven't been able to determine the correct or most

cgi scripts

2004-10-01 Thread Adamiec, Larry
Hello, I am trying to send form data via a UNIX CGI Perl script to a MS Access database. The form and the CGI script are both on a secure web server. The unix script must be used to process the credit card information from the form. I intend to use the POST method of sending the form data to

RE: using the system command

2004-07-02 Thread Adamiec, Larry
identical. Anyways, I did listen to the advice I was given and removed the system command. I am now using file::copy, copy(), and move() functions. Thanks for the help. -Original Message- From: Adamiec, Larry Sent: Thursday, July 01, 2004 13:35 To: '[EMAIL PROTECTED]' Subject: using

using the system command

2004-07-01 Thread Adamiec, Larry
I am running perl version 5.8.0 on a Sun Solaris 9.0 machine. Given the following bit of code: $SOME_FILE = $_; chomp($SOME_FILE); $SOME_SAFE_FILE = $SOME_FILE . _lax; system (cp '$SOME_FILE' '$SOME_SAFE_FILE'); open (IN_FILE, $SOME_FILE ); open (TMP_OUT_FILE,

RE: using the system command

2004-07-01 Thread Adamiec, Larry
I am running perl version 5.8.0 on a Sun Solaris 9.0 machine. Given the following bit of code: use strict; use warnings; $SOME_FILE = $_; chomp($SOME_FILE); $SOME_SAFE_FILE = $SOME_FILE . _lax; system (cp '$SOME_FILE' '$SOME_SAFE_FILE'); This is an