Syntactic Confectionery Delight | |
PerlMonks |
Conditionally Changing a Variableby Anonymous Monk |
on Dec 17, 2001 at 22:53 UTC ( [id://132610]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Although it should work from a logic standpoint, I don't seem to be able to use the following.
Why?
c$ = 0 if (c$ < 0);
c$ will remain the same as it originally was.
Back to
Seekers of Perl Wisdom
|
|