Why not just writing a real filter.pl which extracts and evals the interwoven code (IIRC that's called "tangle" in literate programming)
If it was already discussed (tl;dr) please point me there.
Please excuse that I'm not that much interested into the details of LyX but if you are free to choose a shebang you should also be able to call #!filter.pl directly as alternative interpreter.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
In reply to Re: Hacking a source filter into the #! line
by LanX
in thread Hacking a source filter into the #! line
by dcmertens
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |