in reply to Re: Difference Quantity of two Arrays
in thread Difference Quantity of two Arrays

Thanks all for your answers and especially the explanation of ikegami.

But what does the ++ after $skippables{$_} do?

# populate the hash with the skippables $skippables{$_}++ for @skip_dbs;

Replies are listed 'Best First'.
Re^3: Difference Quantity of two Arrays
by ikegami (Patriarch) on Jan 02, 2007 at 15:51 UTC

    It's the increment operator.

    When dealing with numbers (or undef),
    $a++
    means
    $a = $a + 1
    except it won't issue a warning if $a is undefined.