>>>>> "You" ==   <[EMAIL PROTECTED]> writes:

You> if ( $viewtag = "1" ) {
You>   print "The value of \$view was $view\n<p>";
You> }

That will print all the time.  You are assigning 1 to $viewtag, and
that's always true.  Maybe you wanted == instead of =?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to