Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: perl -n seemingly eating a line of input

by ikegami (Patriarch)
on May 01, 2017 at 15:47 UTC ( [id://1189267]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    LINE: while (<>) { ... }
    
  2. or download this
    perl -ne'push @a, $_; END { print @a; }'
    
  3. or download this
    perl -e'@a = <>; print @a;'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2024-04-26 01:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found