Name

perl_warnings_in_page — display Perl "warnings" for Interchange pages

VALUE

0 | 1

DEFAULT

0

DESCRIPTION

If it is desirable to turn on Perl warnings for pages, you can use [pragma perl_warnings_in_page] and see warnings for that page (or all pages by default if you put in catalog.cfg).

EXAMPLES

Example: Enable perl_warnings_in_page catalog-wide

Put the following in catalog.cfg:

Pragma perl_warnings_in_page

Example: Enable perl_warnings_in_page page-wide

[pragma perl_warnings_in_page]

NOTES

AVAILABILITY

perl_warnings_in_page is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0 (1/1 contexts shown):

Source: lib/Vend/Interpolate.pm
Line 665 (context shows lines 655-669 in interpolate_html():642)

and $html =~ s/^/$::Variable->{MV_AUTOLOAD}/;
defined $::Variable->{MV_AUTOEND}
and $html =~ s/$/$::Variable->{MV_AUTOEND}/;
$toplevel = 1;
}
#::logDebug("opt=" . uneval($opt));

vars_and_comments(\$html)
  unless $opt and $opt->{onfly};

$^W = 1 if $::Pragma->{perl_warnings_in_page};

  # Returns, could be recursive
my $parse = new Vend::Parse $wantref;
$parse->parse($html);

AUTHORS

Interchange Development Group

SEE ALSO

DocBook! Interchange!