Package: libcatalyst-perl Version: 5.30-1 Followup-For: Bug #322230 Hello,
in your special case the object $c->components->{$command} inherits from Class::DBI which is overloaded in the bool context. perldoc says: > The perl builtin bool operator is overloaded so that a Class::DBI > object reference is true so long as all its key columns have defined > values. (This means an object with an id() of zero is not considered > false.) So the workaround is to use unless ( defined ( $c->components->{$command} ) ) { I just told upstream about that problem. It will be fixed with the next release. Regards, Flo -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12.2 Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages libcatalyst-perl depends on: ii libclass-accessor-perl 0.19-2 Automated accessor generator ii libclass-data-inheritable-per 0.02-1 Inheritable, overridable class dat ii libhtml-parser-perl 3.45-2 A collection of modules that parse ii libmodule-pluggable-fast-perl 0.16-1 Fast plugins with instantiation ii libpath-class-perl 0.12-1 Cross-platform path specification ii libtemplate-perl 2.14-1 template processing system written ii libtext-asciitable-perl 0.15-1 Perm module to create a table usin ii libtree-simple-perl 1.15-1 A simple tree object ii libtree-simple-visitorfactory 0.05-1 A collection of dispensing visitor ii libuniversal-exports-perl 0.03-7 Lightweight, universal exporting o ii liburi-perl 1.35-1 Manipulates and accesses URI strin ii libwww-perl 5.803-4 WWW client/server library for Perl ii perl 5.8.7-4 Larry Wall's Practical Extraction libcatalyst-perl recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]