Name

vars_and_comments — interpolate variables and remove comments

DESCRIPTION

The filter interpolates variables and removes comments from input.

EXAMPLES

No examples are available at this time. We do consider this a problem and will try to supply some.

NOTES

AVAILABILITY

vars_and_comments is available in Interchange versions:

4.6.0-5.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: code/Filter/vars_and_comments.filter
Lines: 22


# Copyright 2004-2007 Interchange Development Group and others
# 
# 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.  See the LICENSE file for details.
# 
# $Id: vars_and_comments.filter,v 1.5 2007-03-30 23:40:45 pajamian Exp $

CodeDef vars_and_comments Filter
CodeDef vars_and_comments Description Vars/comments
CodeDef vars_and_comments Visibility  private
CodeDef vars_and_comments Routine <<EOR
sub {
my $body = shift;
my $bodyref = ref($body) ? $body : \$body;

Vend::Interpolate::vars_and_comments($bodyref);

return ref($body) ? $body: $$bodyref;
}
EOR

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!