in reply to A TRUE-once variable

The typical idiom is some variable named $seen:
while (<FOO>) { print if !$seen++; # ... }

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;