Meta::Baseline::Utils - library to provide utilities to baseline software.
Copyright (C) 2001, 2002 Mark Veltzer; All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
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. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
MANIFEST: Utils.pm PROJECT: meta VERSION: 0.30
package foo; use Meta::Baseline::Utils qw(); Meta::Baseline::Utils::cook_emblem_print(*FILE);
This package will provide code sniplets that a lot of scripts in the baseline need.
get_emblem() get_file_emblem() get_cook_emblem() get_script_emblem() get_xml_emblem() get_html_emblem() file_emblem($) cook_emblem($) script_emblem($) xml_emblem($) html_emblem($) cook_emblem_print($) mkdir_emblem($) TEST($)
This will return the emblem that should be put on auto generated files.
This method returns the emblem in a general stile (C multi line comment).
This method returns the emblem in a cook style (C multi line comment).
This method returns the emblem in a script style (shebang style).
This method returns the emblem in an XML style (small xml doc).
This method returns the emblem in an HTML style (small html doc).
This will create a stub file with the emblem. This is meant for files in which the /* */ is the form for comments.
Cook knows how to handle C++ style comments so we just call the method for that.
This method will create a stub file fit for scripts (where the hash (#) sign is the correct form for comments.
This will create a stub XML file.
This will create a stub HTML file.
This method gets a file handle and prints a cook emblem into it.
This method will create an emblem file but will also create the directory in which it is supposed to reside (if it is not already created).
Test suite for this module.
None.
Name: Mark Veltzer Email: mailto:veltzer@cpan.org WWW: http://www.veltzer.org CPAN id: VELTZER
0.00 MV bring databases on line 0.01 MV this time really make the databases work 0.02 MV make quality checks on perl code 0.03 MV more perl checks 0.04 MV check that all uses have qw 0.05 MV fix todo items look in pod documentation 0.06 MV more on tests/more checks to perl 0.07 MV spelling change 0.08 MV correct die usage 0.09 MV perl code quality 0.10 MV more perl quality 0.11 MV more perl quality 0.12 MV perl documentation 0.13 MV more perl quality 0.14 MV perl qulity code 0.15 MV more perl code quality 0.16 MV revision change 0.17 MV languages.pl test online 0.18 MV perl packaging 0.19 MV xml encoding 0.20 MV md5 project 0.21 MV database 0.22 MV perl module versions in files 0.23 MV movies and small fixes 0.24 MV thumbnail user interface 0.25 MV more thumbnail issues 0.26 MV website construction 0.27 MV web site automation 0.28 MV SEE ALSO section fix 0.29 MV teachers project 0.30 MV md5 issues
IO(3), Meta::Utils::File::File(3), Meta::Utils::File::Mkdir(3), XML::Writer(3), strict(3)
-add routine to make a file read only after is created and do it with emblem.
-make the emblem / emblem_simple more natural.
To install Meta::Init, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Meta::Init
CPAN shell
perl -MCPAN -e shell install Meta::Init
For more information on module installation, please visit the detailed CPAN module installation guide.