File: convert0.8.README

package info (click to toggle)
libhtml-mason-perl 1%3A1.60-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,816 kB
  • sloc: perl: 8,621; sh: 49; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 584 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
convert0.8.pl

This utility converts existing components to use new syntax
introduced in Mason 0.8.

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.

2. References to request variable $REQ are converted to $m.

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.