in reply to Re: Bug in Array::Compare? (no, really)
in thread Bug in Array::Compare? (no, really)

or $caller //= ''; in 5.10! (or just complain to the maintainer)

Replies are listed 'Best First'.
Re^3: Bug in Array::Compare? (no, really)
by CountZero (Bishop) on Apr 19, 2009 at 17:47 UTC
    or $caller //= ''; in 5.10!
    That is really a terrible idea! It would turn the warning (which is only mildly annoying) to a real error in all pre-5.10 systems and thus break all programs using it.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James