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

Re: What I Most Recently Learned in Perl, But Should Have Already Known

by imp (Priest)
on Aug 21, 2006 at 02:37 UTC ( #568459=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (<>) {
    }
    
  2. or download this
    while (defined( my $line = <>)) {
    }
    
  3. or download this
    perl -MO=Deparse -e 'while (<>) {}'
    while (defined($_ = <ARGV>)) {
        ();
    }
    
  4. or download this
    perl -MO=Deparse -e ' if(1) {print "true"}'     
    do {
        print 'true'
    };
    
  5. or download this
    perl -MO=Deparse -e ' print "true" if 1'   
    print 'true';
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2015-07-28 02:04 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 (251 votes), past polls