John Delacour <johndelac...@gmail.com> writes:

> What you are saying is rather like expecting meaning from a sentence

It tells you to stop when it's raining and to open your umbrella.

> like:
>
> “Stop if it’s raining, open your umbrella.”
>
> Nobody would know what you intend to say.  No condition is actually
> attached to “stop”.

last if $its_raining;

By your logic, no condition is attached to "last".  The problem with
perl is that it doesn't allow you to open your umbrella.


-- 
"Object-oriented programming languages aren't completely convinced that
you should be allowed to do anything with functions."
http://www.joelonsoftware.com/items/2006/08/01.html

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to