in reply to Prototyping functions used in here-docs
This code results in a syntax error at the end of the here-doc. The problem is that Perl doesn't know about dequote yet. Making the dequote usage more explicit (&dequote, dequote()) doesn't help in this case.It has nothing to do with dequote or prototypes. You have essentially written
which results in a syntaxt error (Can't find string terminator "'" anywhere before EOF in this case, " END" in yours).my $foo = ' ...
|
|---|