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
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...
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
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 -