Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Multiple CGI Objects w/ Same Name

by synapse0 (Pilgrim)
on Jul 11, 2001 at 22:27 UTC ( [id://95794]=note: print w/replies, xml ) Need Help??


in reply to Re: Multiple CGI Objects w/ Same Name
in thread Multiple CGI Objects w/ Same Name

It depends on what you need to do with the values. Basic assignment to a scalar ( $var ) will lose anything that was in there before, so if you had $var = "first" and then did $var = "second" you just lost the "first" info. In your example, there's no way to conmpare the two. So if you need to keep the info, use another variable for other info.. If you don't care what was in the variable before, then overwriting it is fine... -Syn0

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-03-28 11:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found