Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I am writing a script which prints a bunch of HTML on the fly. Part of what I am printing out to the browser is a drop down box.

.......

print"<SELECT NAME=reason>"; print"<OPTION SELECTED>- - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - -"; print"<OPTION>Deposits"; print"<OPTION>PPV Dispute"; print"<OPTION>Misquoted by sales"; print"<OPTION>Rate Increase"; print"<OPTION> Collections -- Write Off"; print"<OPTION> Misapplied Payment\n"; print"<OPTION> CSAP"; print"<OPTION> Trip Charge"; print"<OPTION> Refund Checks"; print"<OPTION> Customer Complaint"; print"<OPTION> Technical Issues-Installs\/Upgrades"; print"<OPTION> Non-Pay Issue"; print"<OPTION> EZ-Pay Issue"; print"<OPTION> Collections - NPD\n"; print"<OPTION> Telephone Slamming Investigation"; print"<OPTION> Technical Issues"; print"<OPTION> Campaign Not Applied"; print"<OPTION> Equipment Charges\n"; print"<OPTION> Customer Not Understanding Billing"; print"<OPTION> Not Receiving Bill In The Mail"; print"<OPTION> Wrong Mailing Address"; print"<OPTION> Wanting Payment Arrangements"; print"<OPTION> Disputing Non Pay Fee"; print"<OPTION> 3.99 Processing Fee (New England)"; print"<OPTION> 3.00 Processing Fee\n"; print"<OPTION> MLB Package Autorenewal Dispute\n"; print"<OPTION> Account Verification"; print"<OPTION> Bundling Discount\n"; print"</select>\n"; .......
If I add one more option (no matter what it is) like:
print"<OPTION> Compliment";
I get this error message:
Undefined Subroutine &main::stop called at calltracker.pl line132.
If I remove the added <OPTION> Compliment, it goes back to working.

I understand that the error is probably not in this section of code, but can someone tell me what I should be looking for?

Its driving me crazy!

update (broquaint): added formatting + <code> tags


In reply to Undefined Subroutine by KingNerd

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-03-29 14:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found