The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.6 - 1999-07-16

  • New <& &> tag provides a more convenient way to call components inside HTML. mc_comp still works.
  • The "perl_" prefix has been eliminated from section names: now simply use <%init>, <%cleanup>, <%args>, etc. The old names still work.
  • The utility bin/convert0.6.pl converts existing components to use the above new syntax.
  • New autohandler feature finally provides an easy way to specify a common template or behavior for a directory. An autohandler is invoked just before any top-level components in its directory begins executing. It can display header/footers, apply a filtering function, set up globals, etc. A good complement to dhandlers.
  • New <%once> section contains code that will be executed once when a component is loaded. It is useful for defining persistent variables and named subroutines.
  • New <%text> section allows you to turn off Mason processing for a particular section of text.
  • Implemented first installation test suite! [modus]
  • HEAD optimization: we now automatically abort after headers are sent on a HEAD request.
  • New Parser make() utility traverses a tree of components, compiling any out-of-date components into object files and reporting errors.
  • New mc_comp_source command returns the source filename of this or any component.
  • mc_file now uses current component path by default for relative paths if no static_file_root defined (suggested by John Landahl)
  • Various previewer interface improvements
  • Removed link tags in pods documentation due to 5.004 problems
  • Took out previewer stub from Mason.pm to eliminate "subroutine redefined" warning
  • Updated makeconfig.pl to prefer GDBM_File, to avoid a bug in Berkeley DB 1.x
  • Cleaned and sped up interp hooks facility
  • Stopped substituting control characters for section strings in Parser
    • modus
  • Fixed mc_cache 'expire' bug (reported by Aaron Ross)
  • Changed ignore_warnings default to ignore "subroutine redefined" warnings to make <%once> more useful
  • Removed defunct Safe code from Parser and defunct ALLOW_HANDLERS code from Interp
  • Added index file to htdocs/

Documentation

High-performance, dynamic web site authoring system
Mason Administrator's Guide
Mason Developer's Manual

Modules

A bundle to install the HTML::Mason package
Mason/mod_perl interface
Mason command reference
Mason Component Interpreter
Mason Component Parser

Provides

in lib/Apache/Mason.pm
in lib/HTML/Mason.pm
in lib/HTML/Mason/ApacheHandler.pm
in lib/HTML/Mason/FakeApache.pm
in lib/HTML/Mason/FakeApache.pm
in lib/HTML/Mason/FakeApache.pm
in lib/HTML/Mason/Preview.pm
in lib/HTML/Mason/Preview.pm
in lib/HTML/Mason/Preview.pm
in lib/HTML/Mason/Preview.pm
in lib/HTML/Mason/Tools.pm
in lib/HTML/Mason/Utils.pm