X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FInflateColumn%2FFile.pm;h=951b76e35a3141aa8671b9e44c94f5e3850c75a5;hb=4cf392a17cae90f02305e0d122953b3927780d1c;hp=c1f75eaf2fa6a0dff96ae2b15db4c0ab0155ba1b;hpb=21e5943602ce2cddef59eb882ace362d19889ee7;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/InflateColumn/File.pm b/lib/DBIx/Class/InflateColumn/File.pm index c1f75ea..951b76e 100644 --- a/lib/DBIx/Class/InflateColumn/File.pm +++ b/lib/DBIx/Class/InflateColumn/File.pm @@ -7,6 +7,17 @@ use File::Path; use File::Copy; use Path::Class; +use Carp::Clan qw/^DBIx::Class/; +carp 'InflateColumn::File has entered a deprecation cycle. This component ' + .'has a number of architectural deficiencies that can quickly drive ' + .'your filesystem and database out of sync and is not recommended ' + .'for further use. It will be retained for backwards ' + .'compatibility, but no new functionality patches will be accepted. ' + .'Please consider using the much more mature and actively maintained ' + .'DBIx::Class::InflateColumn::FS. You can set the environment variable ' + .'DBIC_IC_FILE_NOWARN to a true value to disable this warning.' +unless $ENV{DBIC_IC_FILE_NOWARN}; + __PACKAGE__->load_components(qw/InflateColumn/); sub register_column { @@ -111,11 +122,13 @@ DBIx::Class::InflateColumn::File - DEPRECATED (superseded by DBIx::Class::Infla =head2 Deprecation Notice - This component has a number of architectural deficiencies and is not - recommended for further use. It will be retained for backwards - compatibility, but no new functionality patches will be accepted. - Please consider using the much more mature and actively supported - DBIx::Class::InflateColumn::FS + This component has a number of architectural deficiencies that can quickly + drive your filesystem and database out of sync and is not recommended for + further use. It will be retained for backwards compatibility, but no new + functionality patches will be accepted. Please consider using the much more + mature and actively supported DBIx::Class::InflateColumn::FS. You can set + the environment variable DBIC_IC_FILE_NOWARN to a true value to disable + this warning. =head1 SYNOPSIS