* David Golden <[EMAIL PROTECTED]> [2005-08-12T09:10:21] > Won't "&is_code" get called that way? Should this be: > > ok defined \&is_code;
No. C<defined> will do the right thing, here. Taking a reference to an undefined sub, however, will always return a defined value: a coderef that, when called, will throw an exception. -- rjbs
pgpVEpN9BcRQj.pgp
Description: PGP signature