Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Sub call isn't returning values

by Lori713 (Pilgrim)
on Mar 06, 2004 at 00:14 UTC ( [id://334420]=note: print w/replies, xml ) Need Help??


in reply to Re: Sub call isn't returning values
in thread Sub call isn't returning values

Thanks for helping me realize I had two CGI objects. I had misunderstood how CGI works with regard to objects (I was thinking each field was its own object).

I knew I was not getting data the second time around, but I didn't understand why. I read (for the nth time) the CGI.pm docs (I have them printed out because I refer to them so often). I understand better now the differences between procedural and method, but it'll take some more studying to completely figure it out. I didn't see where I had mixed up my calls.

I responded to merlyn's comments above and was able to get the code working by copying my hidden field line in my template's main form area to the button form area.

Thanks again for your help!

Lori

  • Comment on Re: Re: Sub call isn't returning values

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-23 21:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found