Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Block comments ala Ray



On 2021-02-16 16:30:49 +0100, Juergen Christoffel wrote:
> That said, wouldn't it be possible to augment the comment parsing to use
> something like perl's "plain old documentation" (pod) meachnism, e.g.
> 
> #=pod
> This is a block comment
> and $foo would not have a special meaning inside it
> really
> #=cut

This could break existing scripts... unless a specific switch is added
(but more generally, you could imagine a feature that would optionally
preprocess the script before it is parsed by zsh).

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)




Messages sorted by: Reverse Date, Date, Thread, Author