Skip Menu |

This queue is for tickets about the Template-Plugin-Class CPAN distribution.

Report information
The Basics
Id: 4897
Status: resolved
Priority: 0/
Queue: Template-Plugin-Class

People
Owner: Nobody in particular
Requestors: mail [...] joachim-breitner.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.11
Fixed in: (no value)



Subject: Should not unconditionally require classes
The modules "require"s the Class, which fails if for that class no corresponding modules exists (e.g. there are may classes in one file, as it is often the case with Class::DBI). Maybe you should find a way to see if requireing is indeed neccesairy and only then require it.
[guest - Sat Jan 10 11:55:56 2004]: Show quoted text
> The modules "require"s the Class, which fails if for that class no > corresponding modules exists (e.g. there are may classes in one > file, as it is often the case with Class::DBI). Maybe you should > find a way to see if requireing is indeed neccesairy and only then > require it.
Thanks for the report. I liberally stole code from base.pm which attempts a require, lets missing packages slide, but insists on a non-empty stash for the named package. It should be available shortly on CPAN as 0.12. -- Richard Clamp <richardc@unixbeard.net>