Data-Context-BEM
view release on metacpan or search on metacpan
bin/bem-static view on Meta::CPAN
if ( $option{verbose} > 1 ) {
my $instance = $bem->get($script);
warn Dumper $instance;
}
$out_file->parent->mkpath;
$out_file->spew($html);
my $styles = $bem->get_styles($script);
my $css = "$out_file";
$css =~ s/[.]html$/.css/;
path($css)->spew($styles);
}
warn Dumper $bem->block_map if $option{verbose} > 1;
return;
}
__DATA__
=head1 NAME
bem-static - Generate static html from BEM data
=head1 VERSION
This documentation refers to bem-static version 0.1
=head1 SYNOPSIS
bem-static [option]
OPTIONS:
-o --out[=]dir
Output directory
-p --path[=]path
Path for find configuration files
-P --Path[=]template-path
Path for templates
-d --debug[=]level
Set the debug level
-v --verbose Show more detailed option
--version Prints the version information
--help Prints this help information
--man Prints the full documentation for bem-static
=head1 DESCRIPTION
=head1 SUBROUTINES/METHODS
=head1 DIAGNOSTICS
=head1 CONFIGURATION AND ENVIRONMENT
=head1 DEPENDENCIES
=head1 INCOMPATIBILITIES
=head1 BUGS AND LIMITATIONS
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
=head1 AUTHOR
Ivan Wills - (ivan.wills@gmail.com)
=head1 LICENSE AND COPYRIGHT
Copyright (c) 2013 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077).
All rights reserved.
This module is free software; you can redistribute it and/or modify it under
the same terms as Perl itself. See L<perlartistic>. This program is
distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
=cut
( run in 2.171 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )