Machmal sieht das nämlich so aus:
$self->render(
'some/template',
unicorn => 'Charlie',
%params,
COW => 'Moo!'
);
$cached{$file}{scannosubs}{"../../SL/${module}.pm"} = 1;
}
+ # Some calls to render() are split over multiple lines. Deal
+ # with that.
+ while (/(?:parse_html_template2?|render)\s*\( *$/) {
+ $_ .= <$fh>;
+ chomp;
+ }
+
# is this a template call?
if (/(?:parse_html_template2?|render)\s*\(\s*[\"\']([\w\/]+)\s*[\"\']/) {
my $new_file_base = "$basedir/templates/webpages/$1.";