Re: Module to maintain state for CGI?

2002-01-29 Thread Jeff Bisbee
* Daedalus ([EMAIL PROTECTED]) wrote: Sounds like somthing that probably has a module already written ;-) So, as I start searching through CPAN, I thought I'd drop a note to the list and see if someone could shorten my search and send me in the right direction. There are a couple of easy

Re: learn java

2002-01-29 Thread Curtis Poe
--- william [EMAIL PROTECTED] wrote: Where can I learn java (beginner) instead on the java.sun.com? William, Needless to say, on a beginning CGI list aimed at Perl programmers, you're probably not going to get a lot of responses. However, in the interest of keeping this a helpful and

Re: shebang line that works for multiple Perl binary locations

2002-01-29 Thread John
Special need is to have the script run under apache on both NT and linux. The suggestion of putting #!perl on NT for Apache seems to require perl to be in the path (though I haven't tested). Nor did I test setting mime or whatever in Apache to see if it would pick it up. Again, default

Re: help!

2002-01-29 Thread fliptop
Curtis, Jonathan wrote: sub have_we_met{ open DATA, bigdawgs.txt; @data = DATA; close DATA; $ $found = 0; for ($i = 0; $i = $#data; $i++){ @cheese = split /,/, $data[$i]; if ($cheese[0] eq $ntlogin) { $found=1;

Re: help!

2002-01-29 Thread Curtis Poe
--- Curtis, Jonathan [EMAIL PROTECTED] wrote: This subroutine takes the user's login name ($ntlogin) and searches the flat file for matching entry. The flatfile contains user info, comma delimited... each user separated by line. The flatfile is read by line into @data, then splits each

Re: Module to maintain state for CGI?

2002-01-29 Thread Eric Pretorious
Bill: Ruben Lerner (At the Forge, Linux Journal Magazine) has written a series of articles about using Mason to maintain state. That's all I know on that subject. On a related note: Have you considered using cookies? -- Eric P. Los Gatos, CA On Mon, 28 Jan 2002, Daedalus wrote: Hi all,

Re: learn java

2002-01-29 Thread Eric Pretorious
On Tue, 29 Jan 2002, william wrote: Where can I learn java (beginner) instead on the java.sun.com? Probably by asking that question on a java-related mailing list. -- Eric P. Los Gatos, CA -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: learn java

2002-01-29 Thread Talha Masood
If you know C++ there are quite a number of excellent books on java for c++ users otherwise there is an excellent book by deitel and deitel of java...and there is one by ivor harton If you need the name of the books feel free to email me and I will get back 2 u with the names. Happy

Re: help!

2002-01-29 Thread John
This is returning multiple values - that could be considered bad (allowed in Perl but questionable in practice). You might ass in a reference to a hash or something, then set attributes of the hash for each value that needs to be returned, return a true by default, false if read file error.

RE: help!

2002-01-29 Thread Bob Showalter
-Original Message- From: John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 1:12 PM To: [EMAIL PROTECTED] Cc: Beginners-Cgi@Perl. Org (E-mail) Subject: Re: help! Doesn't this leave the file open during the while? It might be OK in this case depending on the size

How do I Configure Perl for use with a Personal Web Server?

2002-01-29 Thread Sir Douglas Cook
How do I Configure Perl for use with a Personal Web Server? The skinny, I am on my home computer running Windows 98 second edition with ActiveState Perl installed and I can write scripts to the MS-Dos window. I am also using the Personal Web Server that comes with Windows 98 and I don't know

RE: How do I Configure Perl for use with a Personal Web Server?

2002-01-29 Thread John
I don't know anything about PWS, but regarding Linux, if you have a fast internet connection you can install Debian over 98 at no cost and very easily with only a few floppies. X is apparently still a nightmare to configure but everything else makes it worthwhile. http://www.debian.org and you

Re: How do I Configure Perl for use with a Personal Web Server?

2002-01-29 Thread Jeff Bisbee
* Sir Douglas Cook ([EMAIL PROTECTED]) wrote: How do I Configure Perl for use with a Personal Web Server? The skinny, I am on my home computer running Windows 98 second edition with ActiveState Perl installed and I can write scripts to the MS-Dos window. I am also using the Personal Web