Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: Access single list element
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,23356,23357#msg-23357
I agree with you Dan. I did not want to go this way but I was trying to work
around a warn only promise that was always
Neil is correct, of course, but if you start thinking in those terms, then
you're still thinking like Cfengine is a programming language, and not a
declarative language. Why do you need a particular element of a list? The
idea behind lists is that you address all of the elements, either serial
Forum: CFEngine Help
Subject: Re: Access single list element
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,23314,23351#msg-23351
neilhwatson Wrote:
---
> Is there a way to access a given element within a
> list? In Perl one