Larry Wall wrote:
On Wed, Jul 14, 2004 at 10:23:18AM -0700, Larry Wall wrote:
: Another alternative is "$( $file ).ext". I'd tend to use that before
: "${file}.ext" these days. Perhaps that's irrational--but it was hard
: to get the special-case "${name}" form to work right in the Perl 5
: lexer,
On Tue, Jul 13, 2004 at 03:44:11PM -0600, John Williams wrote:
: On Tue, 13 Jul 2004, Larry Wall wrote:
: > On Tue, Jul 13, 2004 at 07:24:55AM -0600, Luke Palmer wrote:
: > : But in Perl 6, you don't have to specify things like that through the
: > : mode string: you can specify them through named
On Wed, Jul 14, 2004 at 10:23:18AM -0700, Larry Wall wrote:
: Another alternative is "$( $file ).ext". I'd tend to use that before
: "${file}.ext" these days. Perhaps that's irrational--but it was hard
: to get the special-case "${name}" form to work right in the Perl 5
: lexer, and that bugs me.
On Sun, Jul 11, 2004 at 11:06:30PM -0400, Jonadab the Unsightly One wrote:
: Larry Wall <[EMAIL PROTECTED]> writes:
:
: > No, just currently wrong. :-) I changed my mind about it in A12,
: > partly on the assumption that $object.attr would actually be more
: > common than $file.ext,
:
: Speaking
On Wednesday 14 July 2004 04:55 am, Ph. Marek wrote:
> On Wednesday 14 July 2004 08:39, David Storrs wrote:
> > > To repeat Dave and myself - if
> > > @x = 1 .. Inf;
> > > then
> > > rand(@x)
> > > should be Inf, and so
> > > print $x[rand(@x)];
> > > should give Inf, as the infinite element
Luke Palmer <[EMAIL PROTECTED]> writes:
>> strange, but :shift«value» looks a little more noisy to me than
>> shift => 'value',
>
> For some reason, it looks that way to me, too.
Me three.
> Perhaps:
>
> :shift« value »
>
> I *think* that's better...
To me, that's even worse. My brain se
--- Jonadab the Unsightly One <[EMAIL PROTECTED]> wrote:
> Of course, this leaves open the question of whether there are any
> fairly common filename extensions that happen to be spelled the same
> as a method on Perl6's string class, that might ought to have a
> warning generated... Are there a
On Wednesday 14 July 2004 08:39, David Storrs wrote:
> > To repeat Dave and myself - if
> > @x = 1 .. Inf;
> > then
> > rand(@x)
> > should be Inf, and so
> > print $x[rand(@x)];
> > should give Inf, as the infinite element of @x is Inf.
Please take my words as my understanding, ie. wi
On Wed, Jul 14, 2004 at 07:40:33AM +0200, Ph. Marek wrote:
>
> To repeat Dave and myself - if
> @x = 1 .. Inf;
> then
> rand(@x)
> should be Inf, and so
> print $x[rand(@x)];
> should give Inf, as the infinite element of @x is Inf.
Does it even make sense to take the Infiniteth
Larry Wall <[EMAIL PROTECTED]> writes:
> No, just currently wrong. :-) I changed my mind about it in A12,
> partly on the assumption that $object.attr would actually be more
> common than $file.ext,
Speaking of which, what's the cleanest way to interpolate filenames
with a fixed extension now?
10 matches
Mail list logo