-name => '$obj' This won't do what you intent. Single quotes (') don't interpolate, so the name will be '$obj', not the value of $obj. Either use double quotes or simply drop the quotes altogether:
-name => $obj
$html .= start_form I don't think this belongs here. You don't want to start a new form inside another form (the one created with add_record and build_record_page).
If it still doesn't work, check out the html your code generates. Either with a browser (every browser has a function to show you the html) or something like this:
open(BUG,'>>/tmp/testoutput');
print BUG $html
close(BUG);
Then you can analyze the html to see what is wrong or missing or too much.
Sorry, I didn't read your code from beginning to end. So I don't have the least idea what parse does or should do. It probably is easier if you tell me (or start a new thread if that question is independent of your dropdown menue question).
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.