Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: Form doesn't get updated after submission to same page

by Hue-Bond (Priest)
on Oct 17, 2006 at 21:25 UTC ( #578904=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Form doesn't get updated after submission to same page
in thread Form doesn't get updated after submission to same page

$CGI::nosticky(1) is a syntax error, like saying package CGI; $nosticky(1);. What is happening now is that the values of the dropdown must have at least two characters. If they have one, they don't get updated, even if I use -nosticky and -override :^). Workaround: do ['01' .. '31'] instead of [1 .. 31]. Oh well.

Since this is yet another XP stats tool, I'm leaving it alone. I'm not specially proud of the code, and I was planning to post a SoPW along with it, asking for some flames.

--
David Serrano


Comment on Re^4: Form doesn't get updated after submission to same page
Select or Download Code
Replies are listed 'Best First'.
Re^5: Form doesn't get updated after submission to same page
by eric256 (Parson) on Oct 17, 2006 at 21:44 UTC

    Hmmm looks like the CGI.pm could use some proof reading.

    # Set this to 1 to enable NOSTICKY scripts # or: # 1) use CGI qw(-nosticky) # 2) $CGI::nosticky(1) $NOSTICKY = 0;

    Thats what I get for trusting the source! Who told me to use the source!


    ___________
    Eric Hodges

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://578904]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2015-07-30 02:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls