In a message dated Thu, 25 Apr 2002, Luke Palmer writes: > > before { ... } # run before first iteration, only if there is at > > least one iteration > > after { ... } # run after last iteration, only if there is at least > > one iteration > > noloop { ... } # run if there are no iterations > > I don't know. Seems like an awful lot of keywords to remember what a > simple if should take care of.
I dunno... coming from a system administration background, the header/record separator/footer thing is so common in sysadmin tasks that some way to do it without an iterator and if/else would be really welcome. > while print("Enter your input: "), $_=<> { } > > Is quite yucky. So a feature to handle this might be nice. I think Damian already alluded to being able to say: $fh is chomped is prompted("Enter your input: "); Trey