Hi All
I a newbie to perl. Reading through some of its basics on if constructs
, while constructs and so i also found a the unless and until constructs.
let me take the if construct ,
basically it is like this : if (<condition>) { .....}
now in the above construct if the condition evaluates to *true* only
then does the body of the loop enclosed in { } is executed. SO what i
understand is that the evaluation of truth in the condition is important
for the code in the if block to execute. Please correct me if i am wrong
in this regard.
Now coming to Unless and Until , The construct for this too is some
thing like this:
unless (<condition>) {..........} and until (<condition>) {.....}
Now i wanted to know when does the body of these constructs would
execute , Is it when the condition evaluates to true or false ?
I know it is very basic but would help me in continuing with my further
study.
Thanks
Jatin