[Jifty-commit] r1489 - jifty/trunk/lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu Jul 6 09:41:27 EDT 2006
Author: jpeacock
Date: Thu Jul 6 09:41:24 2006
New Revision: 1489
Modified:
jifty/trunk/lib/Jifty/Util.pm
Log:
Forgot to add POD for new already_required() sub. Bad, bad Zooty! Always
run 'make test' before committing big changes. ;-)
Modified: jifty/trunk/lib/Jifty/Util.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Util.pm (original)
+++ jifty/trunk/lib/Jifty/Util.pm Thu Jul 6 09:41:24 2006
@@ -209,6 +209,13 @@
return 1;
}
+=head2 already_required class
+
+Helper function to test whether a given class has already been require'd.
+
+=cut
+
+
sub already_required {
my ($self, $class) = @_;
my $path = join('/', split(/::/,$class)).".pm";
More information about the Jifty-commit
mailing list