Re: checking existance of an item in an array

2006-02-06 Thread Ovid
--- Konstantine <[EMAIL PROTECTED]> wrote: > Greetings > > This is my first stab at Perl. Please be gentle :-) > > I have the following snippet which seems to do what I am trying to > do, > namely, check the url field value in a POST request, do a server > redirect (as opposed to browser redirec

checking existance of an item in an array

2006-02-06 Thread Konstantine
Greetings This is my first stab at Perl. Please be gentle :-) I have the following snippet which seems to do what I am trying to do, namely, check the url field value in a POST request, do a server redirect (as opposed to browser redirect) if the value is in safe_destinations array, redirect to s