learn java

2002-01-29 Thread william
Where can I learn java (beginner) instead on the java.sun.com?   IncrediMail - Email has finally evolved - Click Here

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

POST and Active State Perl

2002-01-29 Thread Al Hospers
I am developing and testing on a Win 2000 Advanced Server box with AS Perl installed. I have everything working except when I try to use POST in a form. basically the page just hangs there & eventually times out. GET works fine. it's not in my script because I've put in a print statement at the he

Re: shebang line that works for multiple Perl binary locations

2002-01-29 Thread Stephan Tinnemeyer
AFAIK, the shebang line is ignored on Windows and Macintosh systems, maybe not on MacOS X systems. Security should not be obtained by hiding the location of perl.exe. This is not the reason. There are some "standard" locations, i. e. some locations are widely used. User friendly configured web se

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 frie

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 Apac

help!

2002-01-29 Thread Curtis, Jonathan
I know there is probably a silly error causing this, but I'm new to Perl and this is driving me crazy.. 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 fl

Re: trying to secure text input.

2002-01-29 Thread fliptop
Luinrandir Hernson wrote: > Below is the code i'm using to filter out non alphanumeric charecters... however >when i type > ?!$BOB > yeilds this: > -_3f_21_24bob- > > The ?!$ should be stripped away and come back empty, not > _3f_21_24 > ANY ideas as to what I'm doing wrong??? > I'm asking

Re: help!

2002-01-29 Thread Jeff Bisbee
* Curtis, Jonathan ([EMAIL PROTECTED]) wrote: > The loop should return a flag ($found =1) and the line number ($eindex) of > the user's data... > -- Curtis, You would probably help yourself a lot if you hunkered down and used 'use strict;' One of the problems with your code is that you're usi

Re: help!

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

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

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: shebang line that works for multiple Perl binary locations

2002-01-29 Thread Alan C.
Hi, >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 The following topic is limited to Windows NT, path, and Apache Yes, that *does require that perl be in the path statement (windows) On my windows, perl is

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: shebang line that works for multiple Perl binary locations

2002-01-29 Thread Nestor Florez
Common guys, It is true that windows does not care about the location of perl but it does care about the operators like "-w". If you are concern with the location of perl, then an easy way is to set it up for the PC directory structure and then go to your unix and create a link with the same str

Re: help!

2002-01-29 Thread John
Doesn't this leave the file open during the while? It might be OK in this case depending on the size of the file or what is being done, but if it were doing something intensive on a big file (or if you needed the data from the file after the while loop), couldn't this cause problems if somethi

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

Re: learn java

2002-01-29 Thread Darlene Wallach
I would recommend checking out Bruce Eckel's book Thinking in Java which you can download: http://www.mindview.net/Books/TIJ/ I also recommend purchasing The Hands-On Java CD ROM: http://www.mindview.net/CDs/Hoj2/ Everyone I have talked to that has read any of Bruce Eckel's books raves about t

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 wh

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 w

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