Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: <> oddity ?

by hdb (Prior)
on Mar 27, 2013 at 10:17 UTC ( #1025667=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(<>) {
        print;
    }
    
  3. or download this
    $ ./weird.pl sample.txt
    
    ...
    or
    
    $ cat sample.txt | ./weird.pl 
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2014-11-01 01:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (227 votes), past polls