Do you know whether there are any examples of this that aren't Source-Filter related issues ?Of course there are.
Whether or not this line is parsed/run first will change how the next line is interpreted:use constant FOO => 1234;
print FOO;
This will either be treated as printing a constant, or printing $_ to a filehandle FOO.
And functions with prototypes:
will be parsed differently if foo is declared first asfoo +3
or withsub foo ();
sub foo;
It means foo()+3 in the former and foo(3) in the latter case.
(It'll do the same if the sub with body is placed in the source code before the call, without the separate declarations, or in a module you use.)
And no source filter in sight.
In reply to Re^4: Slow evolution of Perl = Perl is a closed Word (use)
by bart
in thread Slow evolution of Perl = Perl is a closed Word
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |