On Thu, 14 Apr 2011 10:47:17 -0700, sono-io wrote:

> On Apr 14, 2011, at 10:15 AM, Uri Guttman wrote:
> 
>> goto just shouldn't be in your vocabulary. there is no reason for it at
>> all in any decent language, especially perl.
> 
>       I've been following this thread and I'm just curious.  If goto is 
so
>       bad, why did they add it to Perl?

Perl's goto is pretty old.  Larry was feeling permissive and in a frame 
of mind to make BASIC programmers happy.  He regrets it.  The perldoc for 
goto says he has never found a reason to use it.

-- 
Peter Scott
http://www.perlmedic.com/     http://www.perldebugged.com/
http://www.informit.com/store/product.aspx?isbn=0137001274
http://www.oreillyschool.com/courses/perl3/

-- 
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