Archive-TarGzip
view release on metacpan or search on metacpan
t/Archive/Data/Startup.pm view on Meta::CPAN
# bless( {
# 'perl_secs_numbers' => 'multicell',
# 'Data::SecsPack' => {},
# 'type' => 'ascii',
# 'indent' => ''
# }, 'Data::Startup' )
#
##################
# read perl_secs_numbers default option
#
[$default_options->config('perl_secs_numbers')]
# [
# 'perl_secs_numbers',
# 'multicell'
# ]
#
##################
# write perl_secs_numbers default option
#
[$default_options->config(perl_secs_numbers => 'strict')]
# [
# 'perl_secs_numbers',
# 'multicell'
# ]
#
##################
# restore perl_secs_numbers default option
#
[$default_options->config(perl_secs_numbers => 'multicell')]
# [
# 'perl_secs_numbers',
# 'strict'
# ]
#
##################
# create options copy of default options
#
$options = $default_options->override(type => 'binary')
# bless( {
# 'perl_secs_numbers' => 'multicell',
# 'Data::SecsPack' => {},
# 'type' => 'binary',
# 'indent' => ''
# }, 'Data::Startup' )
#
##################
# verify default options unchanged
#
$default_options
# bless( {
# 'perl_secs_numbers' => 'multicell',
# 'Data::SecsPack' => {},
# 'type' => 'ascii',
# 'indent' => ''
# }, 'Data::Startup' )
#
##################
# array reference option config
#
[@result = $options->config([perl_secs_numbers => 'strict'])]
# [
# 'perl_secs_numbers',
# 'multicell'
# ]
#
##################
# array reference option config
#
$options
# bless( {
# 'perl_secs_numbers' => 'strict',
# 'Data::SecsPack' => {},
# 'type' => 'binary',
# 'indent' => ''
# }, 'Data::Startup' )
#
##################
# hash reference option config
#
[@result = $options->config({'Data::SecsPack'=> {decimal_fraction_digits => 30} })]
# [
# 'Data::SecsPack',
# {}
# ]
#
##################
# hash reference option config
#
$options
# bless( {
# 'perl_secs_numbers' => 'strict',
# 'Data::SecsPack' => {
# 'decimal_fraction_digits' => 30
# },
# 'type' => 'binary',
# 'indent' => ''
# }, 'Data::Startup' )
#
##################
# verify default options still unchanged
#
$default_options
# bless( {
# 'perl_secs_numbers' => 'multicell',
# 'Data::SecsPack' => {},
# 'type' => 'ascii',
# 'indent' => ''
# }, 'Data::Startup' )
#
=head1 QUALITY ASSURANCE
Running the test script C<Startup.t> verifies
the requirements for this module.
The C<tmake.pl> cover script for L<Test::STDmaker|Test::STDmaker>
automatically generated the
C<Startup.t> test script, C<Startup.d> demo script,
and C<t::Data::Startup> program module POD,
from the C<t::Data::Startup> program module contents.
The C<tmake.pl> cover script automatically ran the
C<Startup.d> demo script and inserted the results
into the 'DEMONSTRATION' section above.
The C<t::Data::Startup> program module
is in the distribution file
F<Data-Startup-$VERSION.tar.gz>.
=head1 NOTES
=head2 Author
The holder of the copyright and maintainer is
E<lt>support@SoftwareDiamonds.comE<gt>
=head2 Copyright Notice
Copyrighted (c) 2002 Software Diamonds
All Rights Reserved
=head2 Binding Requirements Notice
Binding requirements are indexed with the
pharse 'shall[dd]' where dd is an unique number
for each header section.
This conforms to standard federal
government practices, L<STD490A 3.2.3.6|Docs::US_DOD::STD490A/3.2.3.6>.
In accordance with the License, Software Diamonds
is not liable for any requirement, binding or otherwise.
=head2 License
Software Diamonds permits the redistribution
and use in source and binary forms, with or
without modification, provided that the
following conditions are met:
=over 4
( run in 2.209 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )