CAD::Drawing::IO::Compressed is a Perl module to load and save compressed data.
Requisite Plug-in Functions
See CAD::Drawing::IO for a description of the plug-in architecture.
Returns true if $type is "compressed" or $filename has a ".gz" extension (probably the best way.)
$fact = check_type($filename, $type);
Compressed I/O functions
These use File::Temp and compression modules to create a compressed version of most supported I/O types (FIXME: need a tar scheme for directory-based formats (currently unsupported))