Graphics-Skullplot

 view release on metacpan or  search on metacpan

lib/Graphics/Skullplot.pm  view on Meta::CPAN


Defaults to 'display', the ImageMagick viewer
(a dependency on Image::Magick ensures it's available)

=back

=cut

# required arguments to new 
has input_file => ( is => 'ro', isa => Str,      required => 1);  # must be dbox format 
has plot_hints => ( is => 'ro', isa => HashRef,  required => 1);

has working_area => ( is => 'rw', isa => Maybe[Str], default => "/tmp" );
has image_viewer => ( is => 'rw', isa => Maybe[Str], lazy => 1, builder => "builder_image_viewer" );  

# mostly for internal use
has naming         => ( is => 'rw', isa => HashRef, lazy => 1, builder => "generate_output_filenames" ); 

=item builder methods (largely for internal use)

builder_image_viewer Currently just returns a hardcoded selection

lib/Graphics/Skullplot/ClassifyColumns.pm  view on Meta::CPAN

with a header in the first row.

=back

=cut

# Example attribute:
# has is_loop => ( is => 'rw', isa => Int, default => 0 );
# Tempted to use Mouse over Moo so I can do my usual "isa => 'Int'"

has data => ( is => 'ro', isa => ArrayRef );

has patterns => ( is => 'ro', isa => HashRef, builder => "define_regxeps" );

# $DB::single = 1;


=item classify_columns_simple

Note: here "simple" might be thought of as "stub":
This does the simplest possible categorization using only 
a single numeric hint for the number of independent fields.



( run in 0.614 second using v1.01-cache-2.11-cpan-5f2e87ce722 )