> ?pattern? # one-time match
Oi! Scott! No!
I use this in one-liners, and it's _dead_ handy. Of course, if it's
modularized as Dan suggests, which has no effect at language level, I
wouldn't be unhappy.
Mx.
--
See, the stars are shining bright
Everything's all right tonight
On Fri, Aug 04, 2000 at 04:48:24PM -0400, John Porter wrote:
> I think this should mean what it means in Icon, namely, that
> $x < $y evaluates to false if $x >= $y, and evaluates to
> "$y (but true)" if $x < $y. This allows the operators to be
> nested, i.e. $x < $y < $z would be ( $x < $y )
John Porter writes:
| qc( here's some text which will evaluate to "silent undef". );
|
| Could be very much like qw(), in the sense that
|
| % perl -w
| qc{
| once upon a time
| # now for the clincher
| happily ever after.
| };
| Possible attempt to put comments in
Graham Barr writes:
| Not at all. foldr would have to enquire the array size the iterate backwards.
| reduce can do the same.
Ah, well here's where the implementation counts for all. foldr probably
(but not definately) would need to know the list size, but neither foldl
nor foldr need to flat