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

[email protected] (Damian Conway)
Newsgroups perl.recdescent
Message-ID <[email protected]>
Akio asked:

   > more specifically, is the parsing behavior of
   > 
   > 	program: statement
   > 
   > equivalent to the counterpart of 
   > 
   > 	program: statement(1)
   > 
   > EXCEPT for their resulting data structures (former: a scalar; latter: a
   > reference to an array) or something else?

They are *supposed* to be identical, except for returned data structure.
Did you find some other sense in which they were not?

Damian
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.