Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by IlyaM (Parson)
on Sep 08, 2002 at 19:28 UTC ( [id://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 (http://martynov.org/)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-23 19:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found