Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: while(<>) in perl 5.22

by toolic (Bishop)
on Nov 14, 2016 at 19:54 UTC ( [id://1175907]=note: print w/replies, xml ) Need Help??


in reply to while(<>) in perl 5.22

I reproduce your undesired behavior on 5.16. To get your desired output in this instance, replace while (<>) with for (@ARGV)

See also perlop

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-28 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found