jmac says The value of $K is indeed set to the value in the recordOK, given the following apparently proven assumptions:
1. That the radio button being printed is named "edit" and that its value when selected is indeed, say, 5, and that the radio button is indeed selected, the script fails.
2. That a textual input field of name "edit", given a value of "5", permits the script to succeed
This just makes no sense to me. How are you parsing the "edit" form element? Is it empty when your script is called with the radio button method but set to "5" (or whatever) when called with the text field method? Are you using the stock CGI.pm module or are you rolling your own parsing? And, finally, it would help if we could see the HTML as printed out by your script. I keep asking for this but I never see it. Can't you just "View Source" and cut/paste? You can leave out the non-form-related content if it's going to be a bit much.. I just want to see the <form> tags, the <input> tags and any other form tag that might use "edit" as its name. Something is not right. You keep insisting that things are being printed correctly, but this is inconsistent with the results you're getting. We need more information.
In reply to RE: Re: modifying records in a delimited text file
by Fastolfe
in thread modifying records in a delimited text file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |