in reply to Re: Re: YAOOM
in thread YAOOM

The code, as written, works just fine. can() will either return a coderef or undef. Hence, the if $meth check. I used map to allow for warnings, if desired. If no warnings are desired, grep is the better way to go.

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.

Replies are listed 'Best First'.
Re: Re: Re: Re: YAOOM
by lachoy (Parson) on Dec 08, 2001 at 05:38 UTC

    Excuse me, just being a dingdong. Nothing to see here. Must test code before opening yap :-)

    Chris
    M-x auto-bs-mode