Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Why is the null while-loop condition expression true?

by AnomalousMonk (Archbishop)
on Mar 28, 2016 at 17:55 UTC ( [id://1158968]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while ()
         {
    ...
         last unless /\S/;
         print FILE;
         }
    
  2. or download this
    c:\@Work\Perl>perl -wMstrict -le
    "while ()
    ...
    ghjk
    >ghjk
    <
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1158968]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found