Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Angle operator

by Corion (Patriarch)
on Oct 20, 2021 at 14:30 UTC ( #11137801=note: print w/replies, xml ) Need Help??


in reply to Angle operator

The while( <> ) { loop reads more data from STDIN or the file(s) in @ARGV. If you observe different behaviour, then most likely, the data from the two locations was consumed in a previous loop in the old script and is now not consumed in the new script.

A tedious but workable approach IMO is to inspect all the previous loops that consume input from STDIN, or @ARGV, by editing down (a copy of) the script until only the offending loops (or statements leaving these loops) remain.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2022-01-22 00:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (60 votes). Check out past polls.

    Notices?