in reply to (duplicate) Eek! goto?

use Switch;

Juerd
- http://juerd.nl/
- spamcollector_perlmonks@juerd.nl (do not use).

Replies are listed 'Best First'.
Re: Re: Eek! goto?
by BrowserUk (Patriarch) on Feb 12, 2003 at 00:34 UTC

    And replace 12 lines with approx. 500+ lines (excluding pod) that includes (amongst others) this line:

    $text .= "{ while (1) $code continue { goto C_A_S_E_$casecounter } las +t S_W_I_T_C_H; C_A_S_E_$casecounter: }";

    just to hide a goto?


    Examine what is said, not who speaks.

    The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.

      Very good point. I also am not too fond of source filters either.

      -Lee

      "To be civilized is to deny one's nature."