Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Counting elements in array of cases

by rsFalse (Chaplain)
on Sep 28, 2019 at 18:19 UTC ( [id://11106820]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Counting elements in array of cases (updated)
in thread Counting elements in array of cases

This is similar approach to mine (Re^4: Counting elements in array of cases).

But can you test it on:
{'targetL' => 'foisonnement', 'origin' => 'AMG', 'count' => '1 +'}, {'targetL' => 'foisonnement', 'origin' => 'IDBR', 'count' => ' +1'}, {'targetL' => 'foisonnement', 'origin' => 'AMG', 'count' => '1 +'}, {'targetL' => 'foisonnement', 'origin' => 'IDBR', 'count' => ' +1'},

Replies are listed 'Best First'.
Re^5: Counting elements in array of cases (updated)
by LanX (Saint) on Sep 28, 2019 at 19:12 UTC
    Yeah thanks, I even see the bug without testing.

    Ironically I first wrote unless ... ++ instinctively and then decided it's redundant. :)

    Will fix the code as soon as I get back to my PC

    update

    Fixed! :)

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-03-28 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found