CAD::Drawing::IO::Split

CAD::Drawing::IO::Split is a Perl module that allows fast distributed text file methods.
Download

CAD::Drawing::IO::Split Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Eric L. Wilhelm
  • Publisher web site:
  • http://search.cpan.org/~ewilhelm/Date-Piece-v0.0.2/lib/Date/Piece.pm

CAD::Drawing::IO::Split Tags


CAD::Drawing::IO::Split Description

CAD::Drawing::IO::Split is a Perl module that allows fast distributed text file methods. CAD::Drawing::IO::Split is a Perl module that allows fast distributed text file methods.Requisite Plug-in FunctionsSee CAD::Drawing::IO for a description of the plug-in architecture.check_typeReturns true if $type is "split" or $filename is a directory (need a tag?) $fact = check_type($filename, $type);Load/Save MethodsConcept here is to strip data down to the absolute bare minumum in an effort to find a generic and extensible incarnation of same.saveSaves data into $toplevel_directory under a directory for each layer, each type, and a file for each id. save($drw, $toplevel_directory, %options);Requires that the directory already exists.Selective saves not yet supported.Unfortunately, the file-formats are rather primitive and the code needs refactoring. These are nowhere near stable, so don't expect version compatibility yet!Needs a clear_all_like => $regex option.load load($drw, $toplevel_directory, %options);%options may include selective-load argumentsNaming Functions_dir_list @list = _dir_list($dir);_sp_filenameCreates nested directories which are required to save %obj and returns the filename which should be saved into. _sp_filename(%obj, ta);Inherited Methodsclear_dirRemoves layers (and items) from the split directory $dir.Defaults to removing all. $drw->clear_dir($dir, %options);Available options: like => qr/regex/, # if regex matches layer name not_like => qr/regex/, # negative of above (compounded)check_select() options:%options is passed through CAD::Drawing::Defined::check_select(), so the selections returned by it will be utilized here. select_layers => @layer_list, select_types => @types_list,Returns the number of items removed or undef() if $dir does not exist. Requirements: · Perl


CAD::Drawing::IO::Split Related Software