On 5/29/07, Larry Wall <[EMAIL PROTECTED]> wrote:
On Tue, May 29, 2007 at 04:05:39PM -0400, Chas Owens wrote:
: On 5/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
: snip
: >+If the count is less than 1, returns the null string.
: >+The count may not be C<*> because Perl 6 does not support
: >+infinite strings.  (At least, not yet...)
: snip
:
: Does "may not be c<*>" mean that the compiler should throw a fatal
: error if it sees it or that the program will hang because it is the
: programmer's fault (similar to "while 1 {}") .

The compiler is generally allowed to complain about anything it knows
must fail at runtime, and since scalars default to eager, this will
certainly run out of memory at runtime.

Larry


Just an odd corner case, but
   "foo" x -*
should return an empty string and
   "foo" xx -*
should return an empty list, right?

Reply via email to