RE: uninitialised value strings

2001-08-29 Thread Bradley M. Handy
Most likely because no data is being passed to the script. Brad -Original Message- From: Francesco Scaglioni [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 9:23 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: uninitialised value strings Hi again,

RE: System Health Checks

2001-08-28 Thread Bradley M. Handy
give you details, but I know it works well. Bradley M. Handy Programmer Analyst Spring Arbor University --www.arbor.edu --mailto:[EMAIL PROTECTED] Quote: If women don't find you handsome they should at least find you Handy. -- Steve Smith as Red Green from the Red Green Show -Original Message

RE: Upload script

2001-08-21 Thread Bradley M. Handy
it maybe 2.76. (Check you local CPAN dealer for more details.) In any case, you should download the latest 2.x version of CGI.pm and use that. If you ARE using the latest 2.x version of CGI.pm, then could you post your code so we can have a look at it. Or, is that not possible. Bradley M. Handy

RE: Upload script

2001-08-21 Thread Bradley M. Handy
object using 'param', but for a filehandle you should use 'upload'. Hope this helps. Bradley M. Handy Senior Programmer/Owner Jack-of-all-trades Programming Services --www.jack-of-all-trades.net --mailto:[EMAIL PROTECTED] -Original Message- From: Lynn Glessner [mailto:[EMAIL

RE: Best Practices: Error Handling???

2001-08-14 Thread Bradley M. Handy
Try the Error.pm module. You can find it at: http://search.cpan.org/doc/MSERGEANT/AxKit-1.4/Error-0.13/Error.pm Brad Handy --www.jack-of-all-trades.net --mailto:[EMAIL PROTECTED] -Original Message- From: David Simcik [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001

RE: Multiple values and regex issue

2001-08-13 Thread Bradley M. Handy
http://search.cpan.org/search?module=CGI Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] -Original Message- From: Teresa Raymond [mailto:[EMAIL PROTECTED]] Sent: Monday, August 13, 2001 12:48 PM To: Moon, John Cc: [EMAIL PROTECTED] Subject: RE: Multiple values and regex

RE: Perl Editors

2001-08-08 Thread Bradley M. Handy
I just downloaded Komodo and subscribed for a non-commercial license (I work for a non-profit organization). The non-commercial license is free. Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] -Original Message- From: Kuchler, David [mailto:[EMAIL PROTECTED]] Sent:

RE: Perl Editors

2001-08-08 Thread Bradley M. Handy
Is there are URL where I can get the version for Windows? Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] -Original Message- From: Brett W. McCoy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 3:02 PM To: Bradley M. Handy Cc: Kuchler, David; [EMAIL PROTECTED

RE: Perl Editors

2001-08-08 Thread Bradley M. Handy
I can attest to that. I'm running Win98, and I have 256M of RAM and P3 800. The stinking program hangs about 75% of the time after just clicking inside the text window. Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] -Original Message- From: Mel Matsuoka [mailto:[EMAIL

RE: M$ Word to HTML

2001-08-07 Thread Bradley M. Handy
If you have Dreamweaver you can use the 'Clean up Word HTML' option in the Modify menu on the toolbar. Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] -Original Message- From: Adam Carson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 11:22 AM To: [EMAIL

RE: PERL and JavaScript

2001-07-31 Thread Bradley M. Handy
What kind of problems were you having with Perl? Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] -Original Message- From: Chris Johnstone [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 3:23 PM To: [EMAIL PROTECTED] Subject: PERL and JavaScript I am a

RE: Date

2001-07-25 Thread Bradley M. Handy
Also, take a local a the Date::Calc module for the date arithmetic. Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] -Original Message- From: Venkat Mohan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 25, 2001 12:58 PM To: 'Fred Sahakian'; Subject: RE: Date You can

Database Connection Pooling (Java vs. Perl)

2001-07-24 Thread Bradley M. Handy
In Java there is the ability to do database connection pooling, where you have a ConnectionPool object that contains multiple database connection in it. When you need a connection to a database, you get one from the pool and go. Is there a way to do this in Perl, or is there some article I

RE: script headers

2001-07-24 Thread Bradley M. Handy
If you don't have the following line in your code then you should add it. print Content-type: text/html\n\n; or if you're using the CGI object print CGI-header(); This should be done before you print anything to the browser. Brad Handy --www.jack-of-all-trades.net [EMAIL

RE: e-mailing HTML form results

2001-07-23 Thread Bradley M. Handy
-Original Message- From: Helen Dickey [mailto:[EMAIL PROTECTED]] Sent: Monday, July 23, 2001 7:11 AM To: '[EMAIL PROTECTED]' Subject: RE: e-mailing HTML form results I finished correcting the errors which gave software and comp. error messages. Now I get the pretty page back

RE: new one...

2001-07-20 Thread Bradley M. Handy
In my experience with Perl, whenever you use the construct 'print tag_name;' you need to surround it with either single quotes (') or double quotes (). That's the only thing that I see that could be wrong. Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] -Original Message-

RE: Table display speed: can be improved?

2001-07-20 Thread Bradley M. Handy
try this: my $row; print table; while($row = $dbh-fetch()) { print Tr([td([@$row[1..18]])]); } print /table; This only pulls a database resultset row into memory when you need. In your earlier example you pull everything into memory first and then print it out. This can be quite

RE: CGI script to ftp from client to webserver

2001-07-19 Thread Bradley M. Handy
Take a look at the Documentation for the CGI.pm module at: http://search.cpan.org/search?module=CGI or presuming that the perl location is in your PATH environment variable you can do this: perldoc CGI Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] -Original

RE: e-mailing HTML form results

2001-07-18 Thread Bradley M. Handy
If you are going to use the 'datasend' and 'dataend' subroutines then you must change your to do the following: $smtp-data(); $smtp-datasend(whatever1\n); $smtp-datasend(whatever2\n); $smtp-datasend(whatever3\n); $smtp-dataend(); One thing to note. When you start sending data, it is best to

RE: Excel to html via CGI

2001-07-16 Thread Bradley M. Handy
Take a look at the module Spreadsheet::ParseExcel. http://search.cpan.org/search?module=Spreadsheet::ParseExcel. Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] -Original Message- From: Deneb Pettersson (LMF) [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 2001 4:58 AM

RE: breakable loop???

2001-07-16 Thread Bradley M. Handy
If you are using the Term::ReadKey module, what read module do you have it in? Can you post your code? Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] -Original Message- From: Thomas Jakub [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 15, 2001 2:33 AM To: [EMAIL

RE: Crtl + C

2001-07-16 Thread Bradley M. Handy
are some of the other linux break keystrokes? Here's the unbreakable code, which I want to be made breakable: $SIG{INT} = \end; run(); sub run { while (1) { print blah\n; }} sub end { $SIG{QUIT} = \end; print ending\n; die; } --- Bradley M. Handy [EMAIL PROTECTED] wrote: If you

RE: Copy and past HTML into a perl script

2001-07-13 Thread Bradley M. Handy
Your quotes may be mismatched. Meaning that you are enclosing the entire HTML source with double quotes and you have unescaped double quotes in your HTML source. That would confuse perl. For example: print img src=image.gif; # in this line image.gif is a bareword.

RE: Copy and past HTML into a perl script

2001-07-13 Thread Bradley M. Handy
interpolated Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] -Original Message- From: Camilo Gonzalez [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 3:25 PM To: 'Bradley M. Handy'; Tony Paterra; [EMAIL PROTECTED] Subject: RE: Copy and past HTML into a perl script

RE: Copy and past HTML into a perl script

2001-07-13 Thread Bradley M. Handy
I believe that to be incorrect. The outermost quotes win. Brad --www.jack-of-all-trades.net [EMAIL PROTECTED] -Original Message- From: Camilo Gonzalez [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 3:55 PM To: 'Brett W. McCoy'; Camilo Gonzalez Cc: 'Bradley M. Handy

RE: Copy and past HTML into a perl script

2001-07-13 Thread Bradley M. Handy
No they aren't equivalent. The first prints out - The rain in $Spain The second prints out - The rain in $Spain Does that clarify things? -Original Message- From: Camilo Gonzalez [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 4:08 PM To: 'Bradley M. Handy'; Camilo

RE: Regrex substitution!!!

2001-07-12 Thread Bradley M. Handy
You still could use s///. You just need to take out the '+' sign like so: $number =~ s/\d/x/g; If you use the regexp above for the following example here is what you get: $number = '1 1';# before regexp $number =~ s/\d/x/g;# perform regexp

RE: test script

2001-07-11 Thread Bradley M. Handy
#!/path/to/perl use CGI; print CGI-param(); print I'm Working; I believe the above lines of code should work just fine. -Original Message- From: john.twycross [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001 10:25 AM To: [EMAIL PROTECTED] Subject: test script Can

RE: Errors

2001-07-10 Thread Bradley M. Handy
This may sound silly, but what text editor are you using on your Windows machine to edit the script file? Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] -Original Message- From: Jason Purdy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 1:33 PM To: [EMAIL

RE: Errors

2001-07-10 Thread Bradley M. Handy
incantations. Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] -Original Message- From: Jason Purdy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 1:46 PM To: Bradley M. Handy; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Errors I'm using ActiveState Komodo

RE: Script written HTML won

2001-07-10 Thread Bradley M. Handy
It can happen. Generally the reason is an unclosed literal string somewhere in the HTML source. At least that's been my experience with that problem. Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] -Original Message- From: Mark Bergeron [mailto:[EMAIL PROTECTED]] Sent: