in reply to Re(2): while(<>) { ... } considered harmful
in thread while(<>) { ... } considered harmful

I believe that's a minimal demonstration of a bug, rather than "real" code.

You are right. Real code looks like:

my @other_connectors = map $ad_obj->connector(field => $_), qw(header description region country state);
No require on the surface. It was deeply hidden in one of method calls. I though it was just a Perl bug when I got that error for first time.

--
Ilya Martynov (http://martynov.org/)