RE: Volunteer Project

2001-09-20 Thread Bradley M. Handy
Send me the details of the project and I'll look it over. Right now I'm pretty busy, but I've wanted to work on a volunteer for a while now. Bradley M. Handy Senior Programmer/Owner Jack-of-all-trades Programming Services --www.jack-of-all-trades.net --mailto:[EMAIL PROTECTED]

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 ag

RE: uninitialised value strings

2001-08-29 Thread Bradley M. Handy
> -Original Message- > From: Francesco Scaglioni [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 29, 2001 8:00 AM > To: [EMAIL PROTECTED] > Subject: uninitialised value strings > > > Hi, > > I have been playing around with the rat book but have the following > problem: > > The attac

RE: System Health Checks

2001-08-28 Thread Bradley M. Handy
can't 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 > ---

RE: Browser Problem

2001-08-23 Thread Bradley M. Handy
ein's CGI.pm module. print CGI->header(); or # if you are NOT using Lincoln Stein's CGI.pm module. print "Content-type: text/html\n\n"; The reason the HTML is being read as plain text, is due to the fact Netscape and Opera are being the content is 'Content-type: text/pla

RE: Upload script

2001-08-21 Thread Bradley M. Handy
ou want to use the subroutine 'uploadInfo' then you will need to retrieve the filename from the CGI 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 Service

RE: Upload script

2001-08-21 Thread Bradley M. Handy
think now 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. Bradle

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

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

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 PR

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

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

RE: Redirecting STDOUT

2001-08-07 Thread Bradley M. Handy
Have you taken a look at the GnuPG or Crypt::GPG modules on CPAN? These would probably work really good for what you're doing, and you wouldn't have to worry about redirecting STDOUT. Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] > -Original Message- > From: Mark Ross [mailto

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 PROT

RE: Tie and HASHREF's

2001-08-01 Thread Bradley M. Handy
all-trades.net [EMAIL PROTECTED] > -Original Message- > From: Bradley M. Handy [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 01, 2001 10:27 AM > To: [EMAIL PROTECTED] > Subject: Tie and HASHREF's > > > I am wondering about the use of tie with hashes and

Tie and HASHREF's

2001-08-01 Thread Bradley M. Handy
/path/to/db_file', LockDirectory=>'path/to/'}; my $hashref = \%session; ##--- End Code Is $hashref->{session_var} = session_value; the same as $session{session_var} = session_value; ======== Bradley M. Handy Pro

RE: PERL and JavaScript

2001-07-31 Thread Bradley M. Handy
esday, July 31, 2001 3:52 PM > To: Bradley M. Handy > Subject: RE: PERL and JavaScript > > > First of all I'm using the CGI.PM module to generate > my CGI [which is all done using CGI.pm's functions]. > > Anyways, the exact problem was this: > > I have a form

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

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 P

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 could

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 pa

RE: Table display speed: can be improved?

2001-07-20 Thread Bradley M. Handy
try this: my $row; print ""; while($row = $dbh->fetch()) { print Tr([td([@$row[1..18]])]); } print ""; 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 inefficient.

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

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

RE: e-mailing HTML form results

2001-07-18 Thread Bradley M. Handy
> -Original Message- > From: Helen Dickey [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 18, 2001 6:34 AM > To: '[EMAIL PROTECTED]' > Subject: Re: e-mailing HTML form results > > > Hi again, > Can the line > $smtp->to('[EMAIL PROTECTED]"); > be > $smtp->to('[EMAIL PROTECTED],STDOUT

RE: CGI vars

2001-07-17 Thread Bradley M. Handy
Multiple form parameters of the same name are interpretted by CGI.pm as an array. The first one to appear in the form is the 0th element and then it goes on from there. For instance: If the form is submitted with all these checkboxes chec

RE: e-mailin HTML of form results

2001-07-16 Thread Bradley M. Handy
Check out the documentation for the Net::SMTP module at: http://search.cpan.org/search?module=Net::SMTP Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] > -Original Message- > From: Helen Dickey [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 16, 2001 7:40 AM > To: '[E

RE: Crtl + C

2001-07-16 Thread Bradley M. Handy
;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; > } > > --- "B

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 PROTE

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

RE: Nasty

2001-07-13 Thread Bradley M. Handy
Honestly, I don't think it would be fair to say that. > -Original Message- > From: Camilo Gonzalez [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 13, 2001 4:46 PM > To: [EMAIL PROTECTED] > Subject: Nasty > > > I don't work with a lot of programmers. I hope to get into a > situation w

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

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 &

RE: Copy and past HTML into a perl script

2001-07-13 Thread Bradley M. Handy
Correct. > -Original Message- > From: Brett W. McCoy [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 13, 2001 3:35 PM > To: Camilo Gonzalez > Cc: '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
ble name-> $var This is a variable value-> I'm 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

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 ""; # in this line image.gif is a bareword. You should

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: breakable loop???

2001-07-11 Thread Bradley M. Handy
> -Original Message- > From: Thomas Jakub [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 11, 2001 11:43 AM > To: [EMAIL PROTECTED] > Subject: breakable loop??? > > > I have the following code segment: > > for ($count=1;$count<11;$count++) > { > $c=getc; Your script is pausing here f

RE: Bucks

2001-07-11 Thread Bradley M. Handy
For the answer to your question take a look at the following URL: http://soldc.sun.com/polls/index.jshtml Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] > -Original Message- > From: Camilo Gonzalez [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 11, 2001 10:35 A

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 >

RE: getch()

2001-07-11 Thread Bradley M. Handy
I believe that you can get the same functionality from the 'getc' function in PERL. Although I believe that 'getch' returned the 'character' you pressed not a variable. Brad Handy --www.jack-of-all-trades.net [EMAIL PROTECTED] > -Original Message- > From: Thomas Jakub [mailto:[EMAIL P

RE: cookies

2001-07-11 Thread Bradley M. Handy
> -Original Message- > From: Jerry Preston [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 11, 2001 7:29 AM > To: cgi > Subject: cookies > > > Hi! > > I guess I am missing the boat. I have read CGI::Cookie and > played with the code, but I would think that I should be able to > read

RE: cgi-bin directory

2001-07-10 Thread Bradley M. Handy
I generally put my cgi-bin directory in the same level as my root www directory. For example: root www -> /usr/local/www/htdocs cgi-bin -> /usr/local/www/cgi-bin Then you need to add a ScriptAlias Directive (if you're using Apache) into your httpd.conf file ScriptAlias

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

RE: Errors

2001-07-10 Thread Bradley M. Handy
s to strip those annoying Microsoft 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] > Subj

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 PR

RE: Script written HTML won't display

2001-07-10 Thread Bradley M. Handy
Can you send a copy of the HTML source to the list? Brad Handy > -Original Message- > From: Samuel Brown [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 10, 2001 1:21 PM > To: [EMAIL PROTECTED] > Subject: Script written HTML won't display > > > > Here's a wierd problem for the gur