I'm using a next LABEL inside a File::Find sub wanted {...} loop It is further buried in a while loop inside the `sub wanted()'
The while loop is while (<FILE>) on the most recent found file. I want this `next LABEL' to bring on a new file... not a new line in while loop. So using the `next LABEL' technique how do I designate the wanted() subroutine as target? Something like this: sub LABEL: wanted { open(FILE,"<File::Find::name"); while (<FILE>){ if(something) { then do something }else{ next LABEL; } } } -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>