Alzabo
view release on metacpan or search on metacpan
ENHANCEMENTS:
- Alzabo::MethodMaker will now warn you when you it creates a method
that overrides a parent class's method. This can cause problems
when you override the table class's name() method with one that
returns a column object.
BUG FIXES:
- Make Alzabo::Create::Schema->delete work under taint mode. Reported
by Dana Hudes.
- Improve Alazbo::PostgreSQL docs, specifically mentioning that if you
create a Postgres schema with mixed or upper case table names, you
need to do $schema->set_quote_identifiers(1) for any DML SQL to
work.
- The Alzabo::Runtime::Row->is_potential method didn't exist.
- The caching had a very nasty interaction with reverse engineering
- Avoid an uninit value in Alzabo::MethodMaker. Reported by Daniel
Gaspani.
- If you created a cursor inside an eval{} block, the cursor contained
an object whose DESTROY method would overwrite $@ as it went out of
scope when the eval block exited. This could basically make it look
like an exception had disappeared. Thanks to Brad Bowman for an
excellent bug report.
- Loading a schema failed in taint mode. This was reported ages ago
by Raul Nohea Goodness and dropped on the floor by me. My bad.
- The schema creator's exception handling was a little bit buggered up
when handling Alzabo::Exception::Driver exceptions.
---------------------------------------------------------------------------
0.64 Mar 27, 2002
ENHANCEMENTS:
lib/Alzabo/Create/Schema.pm view on Meta::CPAN
my $dh = do { local *DH; };
opendir $dh, $schema_dir
or system_exception "Unable to open $schema_dir directory: $!";
foreach my $f ( grep { /\.alz|\.rdbms|\.version/ } readdir $dh )
{
my $file = File::Spec->catfile( $schema_dir, $f );
next unless -f $file;
# untaint
($file) = $file =~ /^(.+)$/;
unlink $file
or system_exception "Unable to delete $file: $!";
}
closedir $dh
or system_exception "Unable to close $schema_dir: $!";
rmdir $schema_dir
or system_exception "Unable to delete $schema_dir: $!";
( run in 0.355 second using v1.01-cache-2.11-cpan-4e96b696675 )