with <
87y1ogf...@doppelsaurus.mobileactivedefense.com> Rainer
*SKIP*
> It's documented as such:
>
> n and m are limited to non-negative integral values less than a
> preset limit defined when perl is built. This is usually 32766
> on the most common platforms.
Well, I've done some research, this is what v5.34.0 has to offer:
*n* and *m* are limited to non-negative integral values less than a
preset limit defined when perl is built. This is usually 65534 on the
most common platforms.
And in spite of being definetely 32bit
% perl -MConfig -wE 'say $Config{archname} // "foo"'
i586-linux-thread-multi
it realy does that many
% perl -wE '/.{200000}/'
Quantifier in {,} bigger than 65534 in regex; marked by <-- HERE
in m/.{200000 <-- HERE }/ at -e line 1.
I stand corrected -- s/32bit/really old/
>>> It's also not really pseudo-anything
>>> for (<list>) {
>>> <stmt>;
>>> <stmt>;
>>> <stmt>;
>>> }
>> Well, how would you identify this construct then:
>>
>> for ( $aa=42 ) { $_*=2 }
> I already wrote that. foreach is something like mapc in lisp: It takes
> a block and a list as argument. It then aliases $_ to each element on
> the list in turn and executes the block once everytime a new list
> element has been aliased. A list of one element is just a list. Even a
> list of 0 elements could be used for something:
> ----------
> This is a funky comment for ();
Well. Turns out, looping over *explicit* one-element list has no
any meaning. Thank you for this insight.