On 6 Jan 2005 16:11:40 -0000, Peter Scott <[EMAIL PROTECTED]> wrote:
> The only times I've used goto in Perl have been the
> "goto &sub" form, which isn't much of a goto in
> the first place :-)

I use it the most when I'm debugging. For example, if I'm hacking on a
webpage with a bunch of redirects, I'll stick a label at the very end
of the page and goto that so I can print debug info when the page is
in a certain state. "goto &sub" is cool too :)

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to