in reply to Re: Can I see "requires"?
in thread Can I see "requires"?

exists $INC{$_} and not exists $i{$_} and print "$_ added" for keys %I +NC;;

You know that $INC{$_} exists because you just accessed it from keys %INC!!    Did you think that it got deleted somehow?

exists $i{ $_ } or print "$_ added" for keys %INC;

Replies are listed 'Best First'.
Re^3: Can I see "requires"?
by BrowserUk (Patriarch) on Mar 08, 2012 at 12:08 UTC

    Good point!

    A literal translation of the thought: If it's now in %INC and not in %i, it was added.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?