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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Conditionally Changing a Variable
by Rhose (Priest) on Dec 17, 2001 at 23:01 UTC | |
by Anonymous Monk on Dec 17, 2001 at 23:44 UTC | |
by Hofmator (Curate) on Dec 17, 2001 at 23:53 UTC | |
by Anonymous Monk on Dec 18, 2001 at 00:05 UTC | |
Re: Conditionally Changing a Variable
by joealba (Hermit) on Dec 17, 2001 at 23:05 UTC |
Back to
Seekers of Perl Wisdom