And as I'm writing this, I'm wondering if something belongs between the last and redo lines there. What are you doing for non 37, non menu lines? Just skipping them?{ $_ = <INFO>; return %Header unless defined $_ and !/^\037/; last if /^\* Menu:/; redo; }
-- Randal L. Schwartz, Perl hacker
In reply to RE: Control Flow Puzzle
by merlyn
in thread Control Flow Puzzle
by Dominus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |