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

Re: @ARGV in while loop

by Kenosis (Priest)
on Feb 14, 2014 at 17:53 UTC ( #1074985=note: print w/replies, xml ) Need Help??


in reply to @ARGV in while loop

However, if you want to print what <> is currently consuming, you can:

use strict; use warnings; print $ARGV[0], "\n"; #printed while (<>) { print "$ARGV\n"; #can be printed }

Replies are listed 'Best First'.
Re^2: @ARGV in while loop
by lightoverhead (Pilgrim) on Feb 14, 2014 at 18:02 UTC

    Thank you. You are right.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2021-02-27 03:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?