On 11-04-14 12:57 AM, Mariano Loza Coll wrote:
I have yet to find one that explains clearly the reasons arguing against its use.
It's a religious thing. It is far better to hide your gotos in a state machine than to expose them to light.
Example of a state machine with hidden gotos: my $done = 0; while( !$done ){ ... if( some_condition() ){ ... $done = 1; ... } ... } -- Just my 0.00000002 million dollars worth, Shawn Confusion is the first step of understanding. Programming is as much about organization and communication as it is about coding. The secret to great software: Fail early & often. Eliminate software piracy: use only FLOSS. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/