The reason why the goto command is not generally used in perl (and other
languages) is that it does not force the developer to have a theoretical
framework for the program. It creates 'spagetti code' where a person working
on the code or trying to understand what the developer has d
Browner [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 29, 2004 09:46
To: [EMAIL PROTECTED]
Subject: goto command
Does perl have a goto command. For example if you tell scrip to do
something and it returns a 1 then it should go to a block of code that
does something else.
Thanks,
Thomas Browner
Message-
> From: Thomas Browner [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 29, 2004 12:46 PM
> To: [EMAIL PROTECTED]
> Subject: goto command
>
> Does perl have a goto command. For example if you tell scrip to do
> something and it returns a 1 then it should go to
Thomas Browner wrote:
>
> Does perl have a goto command. For example if you tell scrip to do
> something and it returns a 1 then it should go to a block of code that
> does something else.
Yes. But I've never seen a case where I think it should be used.
Perl isn't a scripti
For Quality purpouses, Thomas Browner 's mail on Thursday 29 January 2004
18:46 may have been monitored or recorded as:
> Does perl have a goto command. For example if you tell scrip to do
> something and it returns a 1 then it should go to a block of code that
> does someth
Does perl have a goto command. For example if you tell scrip to do
something and it returns a 1 then it should go to a block of code that
does something else.
Thanks,
Thomas Browner
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<h