Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

while(<>) { ... } considered harmful

by IlyaM (Parson)
on Sep 07, 2002 at 23:22 UTC ( #195926=perlmeditation: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Modification of a read-only value attempted at /usr/share/perl5/Net/DN
    +S/Resolver.pm line 235.
    Compilation failed in require at /usr/share/perl5/Net/DNS.pm line 23.
    BEGIN failed--compilation aborted at /usr/share/perl5/Net/DNS.pm line 
    +23.
    ...
    BEGIN failed--compilation aborted at /usr/share/perl5/Mail/CheckUser.p
    +m line 30.
    ....
    ....
    
  2. or download this
    ....
    
    sub res_init {
    ...
    ....
    res_init()
    
  3. or download this
    map { require Net::DNS } 1;
  4. or download this
    map { while(<>) { } } 1;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://195926]
Approved by dws
Front-paged by Ovid
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2015-07-31 23:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (282 votes), past polls