in reply to How to exit subroutine and go to Beginning of CGI Script?

exec $0;

Is one way. But its in the same class as goto, and like it is probably not a good idea on the whole. You should probably redesign your code so that this isnt needed. Perl has a whole host of looping constructs that can be used for this type of thing. Please have a review of perlsyn for more details on looping structures.


---
demerphq

    First they ignore you, then they laugh at you, then they fight you, then you win.
    -- Gandhi