On Thu, 2004-07-01 at 13:35, Juerd wrote:
> > > pray_to $_ ., then sacrifice <$virgin> for @evil_gods;
> > Sure. But what is .,? C could work alone, couldn't it?
>
> It is a horizontal ;.
Ha! I love it. Good source code should look happy.
On Thu, 2004-07-01 at 12:45, Juerd wrote:
> Scott Bronson skribis 2004-07-01 12:42 (-0700):
> > But C<;> requires a surrounding do block, as you noted.
>
> Then invent a horizontal ; operator that does not :)
C? That's the topic of discussion...
> >pray_to
On Wed, 2004-06-30 at 18:41, Luke Palmer wrote:
> Larry didn't go for it. Note, we already have an operator that puts its
> left side in void context and evaluates it before its right one: we call
> it C<;>.
But C<;> requires a surrounding do block, as you noted. I'm
disappointed that Larry didn
On Thu, 2004-06-24 at 21:45, Brent 'Dax' Royal-Gordon wrote:
> Perhaps not as happy as you think:
>
> my $foo = '0';
> my String $bar = '0';
> if $foo { say 'foo true' }
> if $bar { say 'bar true' }
>
> Would print 'bar true', but not 'foo true'.
Frankly, I love it. Since I plan
On Thu, 2004-06-24 at 14:17, Smylers wrote:
> Because the above would've been insane: saying that C treats
> $x as a string would be pretending that C always treats its
> arguments as numbers, but something such as C doesn't
> have any numbers in it.
Doesn't it?
perl -e '$x = "frog"; print(($x
On Thu, 2004-06-24 at 11:34, Smylers wrote:
> Scott Bronson writes:
> But you're fine with 0 being false? 0 and '0' are pretty much
> interchangeable in Perl 5 -- wherever you can use one, you can use the
> other and it gets coerced to it.
Let's back up... Str
On Thu, 2004-06-24 at 10:44, Scott Bronson wrote:
> I don't agree that '0' being false is sensible...
I don't mean to imply that I think it's senseless. Just that, to me, it
smells suspiciously like a hack. :)
- Scott
On Thu, 2004-06-24 at 08:04, Jonadab the Unsightly One wrote:
> > In Perl5, the following values are FALSE: undef, '0', 0, and ''.
> ... The really special case is '0', which
> is false for arcane (but very sensible) reasons.
I don't agree that '0' being false is sensible. This, plus less than
vi
On Wed, 2004-06-23 at 08:12, Dan Sugalski wrote:
> The license issues there require that the full source of GMP ship with any
> binary copy. (the license has no "provide a place to fetch it"
> provision--the source is required) Which would make the Gameboy version
> of Parrot somewhat cumbersome. :