Mercurial > pub > Impl
view Lib/IMPL/ORM/Helpers.pm @ 31:d59526f6310e
Small fixes to Test framework (correct handlinf of the compilation errors in the test units)
Imported and refactored SQL DB schema from the old project
| author | Sergey | 
|---|---|
| date | Mon, 09 Nov 2009 01:39:16 +0300 | 
| parents | 6d33f75c6e1f | 
| children | 16ada169ca75 | 
line wrap: on
 line source
package IMPL::ORM::Helpers; use strict; use warnings; require Exporter; our @ISA = qw(Exporter); our @EXPORT_OK = qw(&Map &Box); sub Map($$) { my ($TKey,$TValue) = @_; $TKey =~ s/:://g; $TValue =~ s/:://g; return "IMPL::ORM::Map::${TKey}${TValue}"; } sub Box($) { my ($TValue) = @_; $TValue =~ s/:://g; return "IMPL::ORM::Box::$TValue"; } 1;
