RE: http headers

2002-04-23 Thread Timothy Johnson
I don't use Perl for web stuff myself, but just from hearing other people talk, you might want to look into the LWP modules and CGI. -Original Message- From: Conan Chai To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 4/23/02 9:07 PM Subject: http headers hi, are there any perl modules

http headers

2002-04-23 Thread Conan Chai
hi, are there any perl modules that splits the http request headers into name/value pairs? Conan It Will Come To Us !!! [EMAIL PROTECTED]

RE: exiting correctly

2002-04-23 Thread Boex,Matthew W.
dave, below is a snipet of the code. the most relavant part. when i enter some bad data in or mysql has problems, it should go to error_handler() at the bottom of my script. well it does, then it returns unless i put an exit at the end of error_handler. --

RE: exiting correctly

2002-04-23 Thread Boex,Matthew W.
bob, i am using fastcgi and anytime i use exit, the script exits from memory. at least that is what my logs say... matt > -Original Message- > From: Bob Showalter [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 3:56 PM > To: 'Boex,Matthew W.'; '[EMAIL PROTECTED]' > Subject:

RE: exiting correctly

2002-04-23 Thread Bob Showalter
> -Original Message- > From: Boex,Matthew W. [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 3:24 PM > To: '[EMAIL PROTECTED]' > Subject: exiting correctly > > > > i have a regex that checks for a string in a param, if not > found, it should > jump to an error subroutine. f

RE: exiting correctly

2002-04-23 Thread David Gray
> i have a regex that checks for a string in a param, if not > found, it should jump to an error subroutine. from there, i > print out "this is an error", etc. after that prints, unless > i have an "exit" to stop the processing, the sub jumps back > and prints out what i don't want it to. h

exiting correctly

2002-04-23 Thread Boex,Matthew W.
i have a regex that checks for a string in a param, if not found, it should jump to an error subroutine. from there, i print out "this is an error", etc. after that prints, unless i have an "exit" to stop the processing, the sub jumps back and prints out what i don't want it to. how can i end

Why Having Version Strings in CGI's is good

2002-04-23 Thread drieux
Uncle Drieux Learns an important lesson. Never let artists download and install interesting perl CGI's to the site CGI without making sure that they 'get it' about security. I mean some ancient piece of cgi form got hacked today and was spamming from our site - I mean they must have gotten at l

RE: unexpected results with grep

2002-04-23 Thread Nazary, David
I will not have any regep in the $names. It contains the name of users that have created label type in ClearCase. Thanks for your help David -Original Message- From: Bob Showalter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 10:39 AM To: 'Nazary, David'; '[EMAIL PROTECTED]' S

RE: unexpected results with grep

2002-04-23 Thread Bob Showalter
> -Original Message- > From: Bob Showalter [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 1:33 PM > To: 'Nazary, David'; '[EMAIL PROTECTED]' > Subject: RE: unexpected results with grep > > ... If you want to find the labels > containing the current name, you need something li

RE: unexpected results with grep

2002-04-23 Thread Bob Showalter
(don't top-post; see responses in context below...) > -Original Message- > From: Nazary, David [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 1:12 PM > To: 'Nikola Janceski'; '[EMAIL PROTECTED]' > Subject: RE: unexpected results with grep > > > instead of $_ I used $name bu

RE: unexpected results with grep

2002-04-23 Thread Nazary, David
instead of $_ I used $name but nothing was found by grep. What do you mean by another variable? -Original Message- From: Nikola Janceski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 9:40 AM To: 'Nazary, David'; '[EMAIL PROTECTED]' Subject: RE: unexpected results with grep

RE: unexpected results with grep

2002-04-23 Thread Nikola Janceski
inside grep $_ is a special var assigned to each value of the array. use another var for the //; > -Original Message- > From: Nazary, David [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 12:29 PM > To: '[EMAIL PROTECTED]' > Subject: unexpected results with grep > > > Hi, >

unexpected results with grep

2002-04-23 Thread Nazary, David
Hi, I am trying to use grep in a simple perl script to find all the lines in a list (@labels) that contain certain names in a list (@names). The problem is that grep finds all the lines in @labels for every name in the @names. here is the script: open(NAMES, "names"); open(LABELS,

Improving the Quality of Our Beginners was Re: Write permissions and other rights

2002-04-23 Thread drieux
On Tuesday, April 23, 2002, at 05:44 , Todd Wade wrote: > "Drieux" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >> Besides I still feel squishy about the fact that >> I can run perl modules as 644 - which just seems >> unNatural to moi [..] oh I 'get'

Re: Write permissions and other rights

2002-04-23 Thread John Brooking
--- Todd Wade <[EMAIL PROTECTED]> wrote: > ... > anyone anything. My proof? perl.beginners and > perl.beginners.cgi is a place > where its pc to ask frequently asked questions. Over > and over. Is there a FAQ document for this list? I just re-read my list welcome message and didn't see any refe

RE: Write permissions and other rights

2002-04-23 Thread Tim Doty
[snip] > As far as the topic in the subject, it is not a perl issue. When > you want to > write in a file or execute a program, the permissions you choose have > nothing to do with the language you choose or if you are > executing code in a > CGI environment, so no, the topic is totally irrelevant

Re: Write permissions and other rights

2002-04-23 Thread Todd Wade
"Drieux" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Besides I still feel squishy about the fact that > I can run perl modules as 644 - which just seems > unNatural to moi The executeable bit is only necessary so your shell will use the first line in