Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: [OT]: This does not look like start end (grep vice for)

by pryrt (Monsignor)
on Apr 11, 2018 at 15:19 UTC ( #1212694=note: print w/replies, xml ) Need Help??


in reply to Re: [OT]: This does not look like start end (grep vice for)
in thread This does not look like start end

My thought was that somewhere in the development line, the author had switched from grepping into a single array to push @a...; push @b...;. But I went back all the way to the v0.02 (the farthest that metacpan would take me in BackPAN), and it was still the grep { ... push ... }-in-void-context construct. So if it was the change to push that caused it, the change happened before it was tracked in CPAN.

Replies are listed 'Best First'.
Re^3: [OT]: This does not look like start end (grep vice for)
by AnomalousMonk (Bishop) on Apr 11, 2018 at 16:07 UTC
    ... switched from grepping into a single array to push @a...; push @b...;.

    But there are many examples of statements like  grep { $_=0 } @acopy; Very strange.


    Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2020-10-01 22:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (22 votes). Check out past polls.

    Notices?