Beefy Boxes and Bandwidth Generously Provided by pair Networks httptech
more useful options
 
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 examining the Monastery: (9)
As of 2014-04-20 22:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (488 votes), past polls