From 990439e2c8c545ea75ba5ded346fd51c4560b805 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sat, 11 Jul 2015 23:39:16 -0700 Subject: [PATCH] include is deprecated, but not ready to enable this warning after all --- FS/FS/Mason.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm index d1535b5a3..3d577f6d2 100644 --- a/FS/FS/Mason.pm +++ b/FS/FS/Mason.pm @@ -508,8 +508,8 @@ if ( -e $addl_handler_use_file ) { }; sub include { - use vars qw($m @CARP_NOT); - warn 'include deprecated; use an HTML::Mason <& &> style include (or $m->scomp) at '. $m->callers(1)->path. "\n"; + use vars qw($m); + #warn 'include deprecated; use an HTML::Mason <& &> style include (or $m->scomp) at '. $m->callers(0)->path. "\n"; $m->scomp(@_); } -- 2.11.0