Re: parsing behavior of a subrule without/with a repetition specifier

[email protected] (Marcel Grunauer)
Newsgroups perl.recdescent
Message-ID <20011109122410.DXZC10991.viefep15-int.chello.at@localhost>
On Friday, November 9, 2001, at 01:23  PM, Marcel Grunauer wrote:

> Now, about that  element(s)  vs.  element(s /,/)  issue.
>
> To recap: the first returns an arrayref to a list of elements,
> the second returns the last element; if you want all elements
> of the second form, use $item{__DIRECTIVEn__}.

To make it a little more precise: $item{element} returns the
things stated above.

Marcel

--
Aspect-Oriented Perl            http://codewerk.unixbeard.net/aspects/
cpan> install Aspect
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.