Re: [cgiapp] Persistence

2008-03-06 Thread Stephen Carville
On Fri, Feb 8, 2008 at 7:24 AM, Michael Peters [EMAIL PROTECTED] wrote: Stephen Carville wrote: Seems to me it makes more sense to embed the session ID or any other tracking as hidden variables in a form and send it back as a POST. This assumes then that every request you make is now a

[cgiapp] Help with m// needed

2008-03-06 Thread Lou Hernsen
I am trying to match French in the string French:6:47 The code is if ($PFile{Allied} =~ m/$Port/) and the actual vars would be if (French =~ m/French:6:47/) and there should be a match but but it doesn't work.. and I don't see why I have used m// before the never had this problem...

Re: [cgiapp] Help with m// needed

2008-03-06 Thread Barry Moore
Hi Lou, You've got your variables around backwards. For that to match you need: $regexp = 'French'; $variable = 'French:6:47'; if ($variable =~ /$regexp/) { print This works\n; } BTW, this mailing list is specifically for CGI::Application issues, and it's members will generally

Re: [cgiapp] Help with m// needed

2008-03-06 Thread Lou Hernsen
D! I slapped myself in the forehead... Thanks I must be sleepy... I used to be on anyother list more appropreate for this type of question, but there is this guy R.S. who is so rude.. and its a beginners list! .. but you are correct and I do appologize Lou - Original Message -