Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 chilling in the Monastery: (11)
As of 2014-12-19 15:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (85 votes), past polls