- added convert0.8.pl.1 and mason.pl.1 manpages - added the following perl modules to BuildRequires for the tests: + perl(Log::Any::Test) + perl(Test::Pod) + perl(Test::Memory::Cycle) + perl(Test::Deep) + perl(CHI) OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Mason?expand=0&rev=15
55 lines
1.8 KiB
Groff
55 lines
1.8 KiB
Groff
.TH CONVERT0.8 "1" "April 2010" "http://search.cpan.org/dist/HTML-Mason/" "User Commands"
|
|
.SH NAME convert0.8.pl - converts existing components to use new syntax
|
|
introduced in Mason 0.8.
|
|
.SH SYNOPSIS
|
|
.B convert0.8.pl
|
|
[-OPTIONS [-MORE_OPTIONS]] [--] [PROGRAM_ARG1 ...]
|
|
.SH DESCRIPTION
|
|
.PP
|
|
This utility converts existing components to use new syntax
|
|
introduced in Mason 0.8.
|
|
.br
|
|
.PP
|
|
1. Old-style mc_commands (mc_comp, mc_file, etc.) are converted to
|
|
new-style $m methods ($m->comp, $m->file, etc.) See Commands.pod for
|
|
all the conversions to be performed.
|
|
.br
|
|
.PP
|
|
2. References to request variable $REQ are converted to $m.
|
|
.br
|
|
.PP
|
|
All directories will be traversed recursively. We STRONGLY recommend
|
|
that you backup your components, and/or use the -t flag to preview,
|
|
before running this program for real. Files are modified
|
|
destructively and no automatic backups are created.
|
|
.SH OPTIONS
|
|
.PP
|
|
The following single-character options are accepted:
|
|
.br
|
|
With arguments: -e
|
|
.br
|
|
Boolean (without arguments): -h -l -q -t -u
|
|
.br
|
|
Options may be merged together. -- stops processing of options.
|
|
Space is not required between options and their arguments.
|
|
.PP
|
|
[Now continuing due to backward compatibility and excessive paranoia.
|
|
See ``perldoc Getopt::Std'' about $Getopt::Std::STANDARD_HELP_VERSION.]
|
|
.br
|
|
.PP
|
|
\fB\-e\fR <regexp>: Exclude paths matching <regexp> case-insensitive. e.g. "(.gif|.jpg)
|
|
.PP
|
|
\fB\-h\fR: Display help message and exit
|
|
.PP
|
|
\fB\-q\fR: Quiet mode, do not report normal processing of files
|
|
.PP
|
|
\fB\-t\fR: Do not actually change files, just report what changes would be made
|
|
.PP
|
|
.SH AUTHOR
|
|
.PP
|
|
Mason was created by Jonathan Swartz over several years at CMP Media.
|
|
.PP
|
|
The main development team shifts over time, as with most open source
|
|
projects. However, at the time of writing, most development is done by
|
|
Dave Rolsky and Jonathan Swartz.
|