Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 avoiding work at the Monastery: (3)
As of 2014-08-31 02:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls