quot;060")?
> Then you'll have the problem that this gets (or might get) interpreted as
> octal somewhere; if not in perl6 directly (because of different base
> specifications), you're likely to get problems when passing that to other
> programs, eg. via system().
snip
If you are certain to want a number then you either need to say
$a = +("100");
or use +($a) when passing it.
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
On Thu, Apr 10, 2008 at 2:29 AM, Mark J. Reed <[EMAIL PROTECTED]> wrote:
> On Thu, Apr 10, 2008 at 2:26 AM, Chas. Owens <[EMAIL PROTECTED]> wrote:
> > It looks like they already have a name in S04: Closure traits*.
> >
> > * http://dev.perl.org/perl6/doc/d
in.
>
> I don't know, "phase" sounds too specific to me. Does the catching of
> an exception really bring us into a new phase of execution? What
> about the LAST time through a loop? etc.
>
>
> --
> Mark J. Reed <[EMAIL PROTECTED]>
>
It lo
t;special named blocks" because
> that is not the block name (that already means something).
snip
The perldocs call them "Five specially named code blocks", The Camel
names them individually (e.g. BEGIN block). How about phase blocks?
They control in what phase of compilation/runti
x in xrange(100) if x**2 > 3]
--
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.
On Dec 21, 2007 4:51 PM, Dave Whipp <[EMAIL PROTECTED]> wrote:
> Larry Wall wrote:
>
> > As for the Q base form, it's not really there so much for end-use,
>
> For an operator not intended for end use, it has a remarkable low
> Huffman rank...
>
But since it will be combined with adverbs like
my
On Dec 13, 2007 4:37 PM, ispyhumanfly <[EMAIL PROTECTED]> wrote:
> Hello list,
>
> I've created a group on www.hiveminder.org for Perl6 collaborative
> task tracking and management. I've done some thinking and I've come up
> with a way in which I would like to maintain this group, its organize
On Dec 13, 2007 6:30 PM, ispyhumanfly <[EMAIL PROTECTED]> wrote:
snip
> This task list is available via an rss feed. I think this will help
> solve the problem in the way you described.
snip
What is the URL for this feed?
On Dec 7, 2007 5:46 PM, Thom Boyer <[EMAIL PROTECTED]> wrote:
snip
> But, back to Perl I didn't get an answer to my follow-up question:
>
> So, it's because <> is so much bigger than «this», "this", or 'this'?
snip
That is my take on it: "Everything is bigger in Texas", even French Quotes.
On Dec 7, 2007 11:50 AM, Larry Wall <[EMAIL PROTECTED]> wrote:
> On Thu, Dec 06, 2007 at 12:12:36PM -0700, Thom Boyer wrote:
> > Larry Wall wrote:
> >> Good guess, but no. It comes from the fact that Texas always bragged
> >> about how they were the largest state in the union, and had the biggest
On 6/29/07, raiph <[EMAIL PROTECTED]> wrote:
snip
Finally, but very importantly imo, what if there are 3 or more
alternatives?
snip
Use a hash or array (depending on the selecting data).
system((zip , )<$?OS>);
system({win32=>'cls', linux=>'clear', other=>'nuke'}<$?OS>);
Of course, this shoul
On 6/22/07, chromatic <[EMAIL PROTECTED]> wrote:
On Friday 22 June 2007 11:07:35 Chas Owens wrote:
> Please, god, no. Or at least make two distributions: Bare Perl 6 and
> Perl 6. Many companies have a "Only Core Perl" policy. They refuse
> to install CPAN modules bec
On 6/22/07, jerry gay <[EMAIL PROTECTED]> wrote:
On 6/22/07, Chas Owens <[EMAIL PROTECTED]> wrote:
> Most of the time the policy is enacted by lower-case-l lazy sysadmins
> who can't be bothered to type
>
> perl -MCPAN -e install Foo::Bar
>
> My normal route a
On 6/22/07, Daniel Hulme <[EMAIL PROTECTED]> wrote:
On Fri, Jun 22, 2007 at 02:07:35PM -0400, Chas Owens wrote:
> On 6/22/07, chromatic <[EMAIL PROTECTED]> wrote:
> >I also like to proceed from the assumption that the only core modules
> >should be those requir
On 6/22/07, chromatic <[EMAIL PROTECTED]> wrote:
On Thursday 21 June 2007 15:23:38 Smylers wrote:
> Has Larry yet decreed whether Web will be bundled with Perl 6?
I also like to proceed from the assumption that the only core modules should
be those required to install other modules.
-- c
Pl
On 6/22/07, Mark Overmeer <[EMAIL PROTECTED]> wrote:
snip
* Jonathan Lang ([EMAIL PROTECTED]) [070622 10:41]:
snip
> Please forgive my ignorance: what does "AST" stand for?
The Abstract Syntax Tree, the result of the code parser, un-interpreted.
snip
You mean it isn't Andrew S. Tanenbaum? W
On 6/14/07, Damian Conway <[EMAIL PROTECTED]> wrote:
snip
To get the multi-line quote, you'd need:
say :to(END);
=begin POD
blah blah blah
=end POD
END
Damian
Would this work as well?
say :to(END);
\x{3D}begin POD
blah blah blah
\x{3D}end POD
END
On 6/3/07, Jonathan Lang <[EMAIL PROTECTED]> wrote:
snip
From what you're saying, I get the impression that you think that "'-'
x 5" ought to produce a single string of five dashes regardless of
whether the context is item or list. Correct? (Note: I'm not asking
about what the spec says, since
On 6/3/07, Jonathan Lang <[EMAIL PROTECTED]> wrote:
Chas Owens wrote:
> Jonathan Lang wrote:
> > Chas Owens wrote:
> > > Jonathan Lang wrote:
> > > > Is there any reason why we can't simply define '$a x $n' as being
> > > > sho
On 6/3/07, Jonathan Lang <[EMAIL PROTECTED]> wrote:
Chas Owens wrote:
> Jonathan Lang wrote:
> > Is there any reason why we can't simply define '$a x $n' as being
> > shorthand for 'cat($a xx $n)'? In what way does the former differ
> > from t
On 6/2/07, Jonathan Lang <[EMAIL PROTECTED]> wrote:
Is there any reason why we can't simply define '$a x $n' as being
shorthand for 'cat($a xx $n)'? In what way does the former differ
from the latter, other than the use of a Whatever in place of $n?
--
Jonathan "Dataweaver" Lang
"$a x $n" is
On 6/1/07, Doug McNutt <[EMAIL PROTECTED]> wrote:
At 09:15 -0700 6/1/07, Larry Wall wrote:
>: To conclude, as hash definitely tastes better than a dictionary, we
>: should stick to that name. ;)
>:
>: At least nobody can say that Perl is bad taste!
>
>Then maybe we should rename Array to Skewer o
On 5/31/07, Darren Duncan <[EMAIL PROTECTED]> wrote:
Barring some better name, I highly recommend/propose renaming Hash to Dict.
And lets rename Perl to Python. This is just change for the sake of change.
snip
The term Dict (as a short form of "dictionary") is well understood by
general peopl
On 5/29/07, Larry Wall <[EMAIL PROTECTED]> wrote:
On Tue, May 29, 2007 at 04:43:20PM -0400, Chas Owens wrote:
: Just an odd corner case, but
:"foo" x -*
: should return an empty string and
:"foo" xx -*
: should return an empty list, right?
I'm doubt &
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
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
erro
On 5/29/07, Mark J. Reed <[EMAIL PROTECTED]> wrote:
My expectation before reading the delta was that negative counts
would do a reversal:
"123" x -1 = "321"
('a', 'b', 'c') xx -3 = ('c', 'b', 'a', 'c', 'b', 'a', 'c', 'b', 'a');
I don't know why I think that makes sense, but it was honestly my
In my mind
perl -le 'print join "\n", map { "[" . 0 x $_ . "]" } -1 .. 1'
and
pugs -e 'say join "\n", map { "[{ 0 x $_}]" }, -1 .. 1'
should both print
[]
[]
[0]
But the Pugs code throws
pugs: List.genericTake: negative argument
Is this Pugs specific behavior or has the the x operator change
28 matches
Mail list logo