Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Re(2): while(<>) { ... } considered harmful

by IlyaM (Parson)
on Sep 08, 2002 at 19:28 UTC ( #196082=note: print w/replies, xml ) Need Help??

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 (

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://196082]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2016-10-27 17:19 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (366 votes). Check out past polls.