Re: [perl #131789] LTA error message: unexpected argument

2017-07-24 Thread Juerd Waalboer
ions and printing them without gist. Sorry! -- Met vriendelijke groet, // Kind regards, // Korajn salutojn, Juerd Waalboer TNX

Re: [perl #131789] LTA error message: unexpected argument

2017-07-24 Thread Juerd Waalboer via RT
ions and printing them without gist. Sorry! -- Met vriendelijke groet, // Kind regards, // Korajn salutojn, Juerd Waalboer TNX

Re: [perl #127144] Native uint doesn't overflow on ++

2016-01-04 Thread Juerd Waalboer
32 $uint32 = 0x; $uint32++; is($uint32, 0, d 32); my uint64 $uint64 = 0x; $uint64++; is($uint64, 0, d 64); } -- Met vriendelijke groet, // Kind regards, // Korajn salutojn, Juerd Waalboer TNX

feather.perl6.nl decommissioned

2015-02-28 Thread Juerd Waalboer
nd regards, // Korajn salutojn, Juerd Waalboer TNX

Re: What is the "self pragma"?

2008-04-12 Thread Juerd Waalboer
Korajn salutojn, Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>

Re: Nomenclature Question - BEGIN etc.

2008-04-10 Thread Juerd Waalboer
My suggestion: consequential blocks -- Met vriendelijke groet, Kind regards, Korajn salutojn, Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>

Re: Nomenclature Question - BEGIN etc.

2008-04-10 Thread Juerd Waalboer
Brandon S. Allbery KF8NH skribis 2008-04-10 19:41 (-0400): > On the other hand, that may be the answer right there: "when-blocks". No, this is a when block: when /foo/ { ... } :) -- Met vriendelijke groet, Kind regards, Korajn salutojn, Juerd Waalboer: Perl hacker <

Re: Perl 6 fundraising and related topics.

2008-02-21 Thread Juerd Waalboer
ly. Good point. My Dutch-biased self doesn't have that wisdom :) -- Met vriendelijke groet, Kind regards, Korajn salutojn, Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>

Re: Perl 6 fundraising and related topics.

2008-02-21 Thread Juerd Waalboer
Larry Wall skribis 2008-02-21 11:15 (-0800): > On Thu, Feb 21, 2008 at 01:29:05PM +0100, Juerd Waalboer wrote: > : Then backtracking would happen, or more likely: Perl 6 would die. If > : this community cannot come up with a virtual machine that can handle > : Perl 6, then many peop

Re: Perl 6 fundraising and related topics.

2008-02-21 Thread Juerd Waalboer
coming from? It shows progress, and several well known, trusted and skilled hackers work on it. -- Met vriendelijke groet, Kind regards, Korajn salutojn, Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>

Re: Perl 6 fundraising and related topics.

2008-02-21 Thread Juerd Waalboer
delijke groet, Kind regards, Korajn salutojn, Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>

Re: [svn:perl6-synopsis] r14489 - doc/trunk/design/syn

2008-01-10 Thread Juerd Waalboer
antics, but do give Bufs support for transparent en-/decoding, and perhaps even unicode semantics. -- Met vriendelijke groet, Kind regards, Korajn salutojn, Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>

Re: what should be the default extension?

2008-01-06 Thread Juerd Waalboer
orajn salutojn, Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>

Re: what should be the default extension?

2008-01-05 Thread Juerd Waalboer
to for modules: Modules can keep .pm, and the interpreter can tell whether it's Perl 5 or Perl 6, because Perl 6 modules have different keywords. Personally I'm hoping for some extra abstraction in module filenames, to allow UTF-8 module names with ASCII filenames. -- Met vriendelijke

Re: what can I do in perl 6 today?

2008-01-03 Thread Juerd Waalboer
(sounds paradoxal), I can create a separate virtual machine for that. -- Met vriendelijke groet, Kind regards, Korajn salutojn, Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>

Re: Concerns about "{...code...}"

2007-12-21 Thread Juerd Waalboer
sing the code. Unpaid non-opensource code usually stays at ""... My excuse is growing up with BASIC. -- Met vriendelijke groet, Kind regards, Korajn salutojn, Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>

Re: Factoring Arguments

2007-12-21 Thread Juerd Waalboer
cumfix:<" "> := "e:.assuming(:!c); Hm, would the following work? given "e:.assuming(:!c) -> &circumfix:<" "> { ... } -- Met vriendelijke groet, Kind regards, Korajn salutojn, Juerd Waalboer: Perl hacker <[EMAIL PROTECT

Re: perl 6 grammar

2007-12-06 Thread Juerd Waalboer
review current standards for method > declaration; last I'd checked, the invocant did not need to be > explicitly named. It does if you want to access it by a name other than a lone sigil. -- Met vriendelijke groet, Kind regards, Korajn salutojn, Juerd Waalboer: Perl hacker <[EMAI

Re: xml and perl 6

2007-11-29 Thread Juerd Waalboer
XML type would only serve to antiquate Perl 6 long before > it's time (!), and is therefore a ... nonstarter. Amen. -- Met vriendelijke groet, Kind regards, Korajn salutojn, Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>

Re: Project Idea: Perl 6 Syntax Explainer

2007-07-10 Thread Juerd Waalboer
s it useful at all? Absolutely! > * Is it possible to implement it satisfactory without building a p6 > compiler? Yes. Just match individual literal symbols. Someone looking for * should encounter all uses of *, including ** and **{}. > * Do you have a good idea for a project name?

Re: Ternary endweight alternative?

2007-06-29 Thread Juerd Waalboer
l way.) And this ambiguity is, IMO, more than enough reason to disallow this. As for the end weight problem, try formatting the thing in three lines like I do. That quickly makes it readable again: system $?OS eq any ?? 'cls' !! 'clear'; This puts "system

Re: Web Module (Was: Perl6 new features)

2007-06-25 Thread Juerd Waalboer
d this by default, because it would make it easier for vendors to choose to use Perl in their base system. It would also make Perl a more attractive choice for embedded systems. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution:

Re: Web Module (Was: Perl6 new features)

2007-06-21 Thread Juerd Waalboer
standards (Web, POD, ...), this is our one chance to get it right, for the next two decades. This said, I don't think Web should be core. It should be the *first* web toolkit for Perl 6, though. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http

Re: Referring to source code within Perldoc: the new A<> code

2007-06-21 Thread Juerd Waalboer
e gained by pre-empting this and picking > something initially. I disagree very strongly. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: Referring to source code within Perldoc: the new A<> code

2007-06-21 Thread Juerd Waalboer
o ever have consistent, semantic, structured OO documentation throughout CPAN (and numerous in house projects), we must start with Perl itself, and there isn't the option of having this tool be third party. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://ju

Re: POD <-> Code entanglement

2007-06-14 Thread Juerd Waalboer
ld still generate it from something else. A few macros could help ignore the inline documentation. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: Generalizing ?? !!

2007-06-11 Thread Juerd Waalboer
Zev Benjamin skribis 2007-06-11 0:57 (-0400): > ?? and !! could always return some kind of result object that boolizes > to true or false. Can we *please* keep simple things simple? -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig

Re: PERL arrays

2007-06-05 Thread Juerd Waalboer
.html I couldn't find how to loop over multidimensionally shaped arrays; maybe you can and maybe someone can show an example. ...Are you sure you were asking about Perl 6? -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convoluti

Re: propose renaming Hash to Dict

2007-05-31 Thread Juerd Waalboer
Dictionaries are usually alphabetically ordered. Hashes are not. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: .perl, nested arrays, parens and a bug with .perl after hyperop

2007-05-20 Thread Juerd Waalboer
his does not work with pugs, so I don't know if I am wrong, or pugs is wrong. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: Sigils by example

2007-05-14 Thread Juerd Waalboer
Thomas Wittek skribis 2007-05-15 1:52 (+0200): > Would it be a good idea to call methods on objects, that never thought > of this methods? Absolutely! Roles can be used for that too. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig

Re: Is Perl 6 too late?

2007-05-14 Thread Juerd Waalboer
k a language needs a good balance between symbols and letters comma and for a programming language comma I think alternating between the two is close to a perfect balance comma whereas in human languages once, every $few (words) is.probably; "period" -- korajn salutojn, juerd waalboer: perl

Re: Sigils by example (was: Re: Is Perl 6 too late?)

2007-05-14 Thread Juerd Waalboer
list context: my @quux = (@foo, @bar); # These arrays "foo" and "bar" flatten my @quux = ($foo, $bar); # These arrays "foo" and "bar" do not That's a subtle yet very useful distinction. But this is "just" very handy, not important. --

Re: Sigils by example

2007-05-14 Thread Juerd Waalboer
ng style. And since my preferred style is different, I'm glad you're not designing Perl 6. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: Is Perl 6 too late?

2007-05-14 Thread Juerd Waalboer
se if we had line \ continuation characters in here, it would suddenly look a lot \ different. Did you, while reading this, pause, just before "different"? -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Sigils by example (was: Re: Is Perl 6 too late?)

2007-05-14 Thread Juerd Waalboer
put" be? The Perl Way: %count $input (or %count input) looks wrong, error caught even before compile time, programmer time and energy conserved. | And how on earth would you write "object.foo()", where foo is a variable | holding a reference to a method, not the name of the method, if you had | no sigils? The Perl Way: $object.foo() calls the method called "foo". $object.$foo() calls the method that is in the variable $foo. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: Is Perl 6 too late?

2007-05-14 Thread Juerd Waalboer
h: Perl is very hard to read for someone who doesn't know Perl well enough. But that's practically true for almost language, be it Python or Japanese. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: CGI.pm renaming (was Re: CGI Session management (was Re: the CGI.pm in Perl 6))

2007-04-15 Thread Juerd Waalboer
Darren Duncan skribis 2007-04-14 23:37 (-0700): > Presumably Juerd will get back to these when he has the tuits, but > meanwhile you could try improving what he started. Indeed. Please read these two posts to this list: http://groups.google.nl/group/perl.perl6.users/browse_thread/

Re: What should file test operators return?

2007-04-13 Thread Juerd Waalboer
f needs a boolean output template, but it would be nice if it were configurable. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: [svn:perl6-synopsis] r14357 - doc/trunk/design/syn

2007-03-28 Thread Juerd Waalboer
[EMAIL PROTECTED] skribis 2007-03-28 13:17 (-0700): > +block) early using the C verb. More precidely, it leaves the precisely? -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMA

Re: lexical subs

2007-03-09 Thread Juerd Waalboer
Juerd Waalboer skribis 2007-03-09 21:27 (+0100): > Just a short note: please, if this is implemented, make sure that either > Perl 6 conforms to Perl 5 behaviour, or the other way around. Wanted to CC this list, but by accident replaced the To instead. Now CC'ing p5p. -- kora

Re: lexical subs

2007-03-09 Thread Juerd Waalboer
Just a short note: please, if this is implemented, make sure that either Perl 6 conforms to Perl 5 behaviour, or the other way around. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consult

Re: [S09] "Whatever" indices and shaped arrays

2007-03-06 Thread Juerd Waalboer
ojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]> Ik vertrouw stemcomputers niet. Zie <http://www.wijvertrouwenstemcomputersniet.nl/>.

Re: for ... else

2007-03-03 Thread Juerd Waalboer
Thomas Wittek skribis 2007-03-03 23:17 (+0100): > Larry Wall: > > : if ($item = 'foobar') { > == of course ;) Or how about eq? :) -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions

Re: perl6-ish idiom for code and tests in one file

2007-01-05 Thread Juerd
and a great idea. I love it! -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]> Ik vertrouw stemcomputers niet. Zie <http://www.wijvertrouwenstemcomputersniet.nl/>.

Re: Closures, compile time, pad protos

2006-11-22 Thread Juerd
Yuval Kogman skribis 2006-11-22 16:01 (+0200): > my $x ::= 3; > sub foo { say ++$x }; Why would you be allowed to ++ this $x? It's bound to an rvalue! -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.n

Re: Interrogative statements

2006-10-20 Thread Juerd
ve in different places, so you can just use a normal postfix operator: sub postfix: ($lhs) { $CALLER::_ = $lhs; } 42?; say($_); # prints 42! # This code is not futuristic. It already works with Pugs. But you wanted a statement thingy. That would require that you modif

Re: [svn:perl6-synopsis] r12875 - doc/trunk/design/syn

2006-10-10 Thread Juerd
ion matches Can't this be generalized somehow? Return an lvalue proxy, like substr does, and make thunking the default for certain LHS types. I don't like special syntax that looks like normal syntax. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <htt

Bytes make no sense on text strings

2006-10-09 Thread Juerd
TF-8 string. I propose that using :bytes on a text string throws an exception. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]> Ik vertr

Re: Comments in qw// or qqw//

2006-10-08 Thread Juerd
quot;bar baz", # And quux => "xyzzy",# comments blah => "42#15",# go red => "#FF0000", # here ); but with much less punctuation and finger strain. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED

Recursing? hypers

2006-10-08 Thread Juerd
# 43, 16 [ 42, 15 ] »+ 1 # 2 [ 42, 15 ] »»+ 1 # [ 43, 16 ] The ASCII variant is a bit big, but that's okay huffmanwise, IMO. Recursion can be a pretty big operation anyway. Being explicit about that is good. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]&

Re: S5: substitutions

2006-10-07 Thread Juerd
all bracketing delimiters the same there. Partly for future-proofness, partly for least surprise. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: Nested statement modifiers.

2006-10-04 Thread Juerd
tatement modifier to a do block is >specifically disallowed Oh. For some reason, I thought this exception was for loops only. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: Nested statement modifiers.

2006-10-03 Thread Juerd
for that! :) say 1 if 1 and 1 and 1; Oh, and 1 is always true. So you could just write: say 1; Which seems like a great improvement. It may be more useful to discuss this issue using less contrived examples. :) -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROT

Re: xx operator

2006-09-28 Thread Juerd
opriate. I think you meant either: my @add = $string xx $repeat; or: my $add = $string x $repeat; Or perhaps: my $add = [ $string xx $repeat ]; # This is what your current code does, but I think it's best if Perl # enforced that you be explicit about the []. -- korajn sa

Re: CGI Session management (was Re: the CGI.pm in Perl 6)

2006-09-21 Thread Juerd
ail now, for you to form an opinion. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: the CGI.pm in Perl 6

2006-09-21 Thread Juerd
uld work for that. Why you'd want one beats me. Generated code. It's nice that Perl usually isn't picky about such things, because it saves you a lot of special cases when you're generating code. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]&

Re: Dumb list-flattening question.

2006-09-21 Thread Juerd
MAIL PROTECTED]), then > what do we call what > the \ is doing there, now that references are supposed to be a > behind-the-scenes automagical thing? They're captures. I personally wouldn't mind unary $, to supplement unary @ and %. -- korajn salutojn, juerd waalboer:

Web development II: Code

2006-09-21 Thread Juerd
Some pseudo-code for illustration. Maybe we should put this on version control or wiki, and collectively hack on it. If we can agree on any certain route. If anyone wants to go ahead and implement things, don't wait for me please. I unfortunately do not have the tuits to do this in full. I don't e

Re: CGI Session management (was Re: the CGI.pm in Perl 6)

2006-09-21 Thread Juerd
space, and making it use information from the Web object (which mostly delegates to its .request and .response), doesn't have to mean it can't be used stand-alone. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: use perl5:CGI as a solution (was: Re: the CGI.pm in Perl 6)

2006-09-21 Thread Juerd
6, not Pugs specifically. It's known that Pugs doesn't implement all of Perl 6 perfectly yet, and Perl 5 compatibility is one of the many things that needs improvement. Give it some time, and don't draw conclusions already. -- korajn salutojn, juerd waalboer: perl hacker &l

Re: the CGI.pm in Perl 6

2006-09-21 Thread Juerd
the syntax for an empty slice then? -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: Perl6 "style-guide"

2006-09-20 Thread Juerd
ld fashioned :) A style guide is very hard to write. It indeed boils down to fluency. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: the CGI.pm in Perl 6

2006-09-20 Thread Juerd
A. Pagaltzis skribis 2006-09-20 22:39 (+0200): > * Juerd <[EMAIL PROTECTED]> [2006-09-20 22:25]: > > I think it's time we moved away from the param method, and > > started using a hash. > I don???t know about that. The `param` method has the nice property > that it

Re: the CGI.pm in Perl 6

2006-09-20 Thread Juerd
ing a hash. In fact, two hashes, get and post. use Web <$web>; $web.get; $web.post; $web; # shorthand form for $web.post // $web.get -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: CGI Session management (was Re: the CGI.pm in Perl 6)

2006-09-20 Thread Juerd
mode is perl5:CGI, that loads the old Perl 5 CGI.pm. There's little need for us to port bad things to Perl 6. Peoplo who really want or need to use them can, and we should concentrate on creating something that's GOOD for new code. This said, I do think it'd be wise to document chang

Re: CGI Session management (was Re: the CGI.pm in Perl 6)

2006-09-20 Thread Juerd
uing about > namespace usage here :)) Yes. I'm talking about a web development toolkit, that does at least what CGI.pm did, and not about CGI as a namespace, because I think that's an incredibly bad thing anyway. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: CGI Session management (was Re: the CGI.pm in Perl 6)

2006-09-20 Thread Juerd
than that, it should be very lightweight and easy to > use. I agree that things should be lightweight and easy to use. But in Perl 6, that doesn't mean that you should avoid nicely structured OO. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: CGI Session management (was Re: the CGI.pm in Perl 6)

2006-09-20 Thread Juerd
uce some real convenience instead.) -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: renaming "grep" to "where"

2006-09-20 Thread Juerd
the items > that fail the test, while 'reject' would filter out the ones that pass > it. There's a neat trick for this: .grep:{ not ... } HTH :) -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: the CGI.pm in Perl 6

2006-09-19 Thread Juerd
t make sense to have a single .pm that does all this. There's absolutely no need for having all these different tasks in one module. There's not even any benefit. You can just as well use a couple of nicely named, grouped, and reasonably standalone roles or classes, and then a single module to

Re: more on perl5 modules

2006-09-18 Thread Juerd
Richard Hainsworth skribis 2006-09-18 17:18 (+0400): > However, I am using pugs from the debian package and not directly from > the repository. So perhaps, the problem is I am not using the latest > version of pugs. That version is rather old in our universe :) -- korajn salutojn,

Re: Web development I: Web::Toolkit

2006-09-17 Thread Juerd
lt, in a general purpose web development library. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: perl6 and a multi-interpreted-language example

2006-09-17 Thread Juerd
Thaw.pm? Interpolate the arrays: while ("@numbers" ne "@{[ sort @numbers ]}") { ... } -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: Web development I: Web::Toolkit

2006-09-17 Thread Juerd
Amir E. Aharoni skribis 2006-09-17 17:22 (+0300): > 17/09/06, Juerd <[EMAIL PROTECTED]> skribis: > > This is a very strict language, though, as it is based on XML. > > A document is either valid and unambiguous, or completely invalid. > Just like any programming language s

Web development I: Web::Toolkit

2006-09-17 Thread Juerd
in one place and then used by every part of the toolkit. At the same time, these things should be overridable at any point. That can be done by temp'ing an attribute, for example. Next time I will write something about implementation. This will partly be from the perspective of implementation

Re: How to pass a ref from a language with no refs (was: Re: use perl5:CGI as a solution)

2006-09-17 Thread Juerd
still takes up to a minute for rakudo.org pages to load on my home machine. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: CGI Session management (was Re: the CGI.pm in Perl 6)

2006-09-17 Thread Juerd
Mark Stosberg skribis 2006-09-16 22:04 (-0500): > As far as I'm aware, no work on CGI::Session for Perl 6 has started yet. I'm happy about that, because this module must not have "CGI" in its name. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECT

Re: use perl5:CGI as a solution (was: Re: the CGI.pm in Perl 6)

2006-09-17 Thread Juerd
o been seen now well > calls to Perl 5 modules can work for the general case. Please note that eventually, perl5:CGI is supposed to work as expected. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: CGI Session management (was Re: the CGI.pm in Perl 6)

2006-09-16 Thread Juerd
that nobody can actually recall, and based precisely 88.445% on the writer's own experience. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: Charsets in HTTP (was: the CGI.pm in Perl 6)

2006-09-16 Thread Juerd
et=iso-8859-1'; # implies: $response1.encoding = 'iso-8859-1; $response2.type = 'application/xml'; $response2.encoding = 'UTF-8'; my $response3 = Web::Response.new :type('text/html; charset=iso-8859-1'); my $response4 = Web::Response.new :type, :encoding; -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: -X file test operators

2006-09-15 Thread Juerd
#x27;t fix the shorthand syntax for testing -e on $_ at all, because .'-e' is no better than -e($_). Well, okay, 1 character, but it costs a lot of grokability. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: the CGI.pm in Perl 6

2006-09-15 Thread Juerd
Juerd skribis 2006-09-15 23:26 (+0200): > Randal L. Schwartz skribis 2006-09-15 9:15 (-0700): > > The thing that CGI.pm does is put in one place everything you need for a > > simple web form. And there's an amazing number of applications for > > this... putting

Re: -X file test operators

2006-09-15 Thread Juerd
the .* variants, not to mention generating method > names by interpolation without needing a temp variable.) First impressions: Ugly, hard to type, not a solution for -e, weird syntax. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.

Re: the CGI.pm in Perl 6

2006-09-15 Thread Juerd
out the simplicity of CGI.pm's basic task handling: parsing > the incoming parameters (including file upload), and generating sticky forms > and other common HTML elements. Don't thow out the simplicity, but do severely re-model things! -- korajn salutojn, juerd waalboer: perl hacker

Re: -X file test operators

2006-09-15 Thread Juerd
t 9th about the -X filetest > operators between at least audreyt, Juerd, myself and markstos. The > problem with these operators was that they conflicted in some cases with > the parsing of unary -, such as: > foo(-?? * 2 * $r); > or just: > sub x($n) { $n*2 }

Re: the CGI.pm in Perl 6

2006-09-14 Thread Juerd
Aankhen skribis 2006-09-14 17:00 (-0700): > There were a few discussions with Juerd and others in #perl6 about > CGI.pm in Perl 6... I've been following the discussion with great interest, and will summarize my thoughts here soon. -- korajn salutojn, juerd waalboer: perl hack

Re: Outlaw to declare a lexical twice in the same scope

2006-09-11 Thread Juerd
then. Just ignoring the declaration is bad, just like implicit declaration. If we do this, we get only typo checking, and none of the other nice protection that lexical declaration gives us. -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig&g

Re: Naming the method form of s///

2006-09-02 Thread Juerd
presses... "And since it's something used a lot in expressions, you wouldn't use the parenless form of the method call much." Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: but semantics (was Re: Naming the method form of s///)

2006-09-01 Thread Juerd
ject, so you'd need a different explanation... > I do not think that C should mutate its LHS, regardless what its RHS > is. Agreed, and that's why "$foo but s///" would be a reasonable replacement for what's currently still "$foo.subst(//, '')".

Re: Naming the method form of s///

2006-09-01 Thread Juerd
ecause we have stuff like :2nd and :3th. And if we're parsing anyway, you might as well pass in a string. Indeed, :g would only be syntactic sugar. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Naming the method form of s///

2006-09-01 Thread Juerd
think that's a pretty intuitive > way of handling the problem. It is indeed a modifier on the *match*, or the *substitution*. Just not on the *regex*. What you pass to a .subst method is a regex, not a match. The difference is that matches and substitutions are actions, while a

Re: Naming the method form of s///

2006-09-01 Thread Juerd
/ postfix op mainly stems from this argument, but I really also believe that ~~ and s/// is a farfetched combination. Perl 5's =~ was a binding operator, and s/// fit right in. But Perl 6's ~~ is a matching operator, and in my opinion should remain pure, and so: not mutate. I'm even a bit in

Re: Naming the method form of s///

2006-08-31 Thread Juerd
f called "s") is good huffman coding. My expectation is that copying substitution will be used much - perhaps even more than mutating substitution! $foo.subst(/foo/, "bar") $foo.s(/foo/, "bar") $foo.s/foo/bar/ Hm. I don't know how "but"

Re: Naming the method form of s///

2006-08-31 Thread Juerd
can easily replicate. I personally still prefer $foo.s/// and $foo.=s///, because I don't think substitution belongs in a smart match op. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Contextual::Return (was Re: could 'given' blocks have a return value?)

2006-08-31 Thread Juerd
Damian Conway skribis 2006-08-31 9:08 (+1000): > return want.rw ?? $lvalue > :: want.count == 2 ?? (7,11) > :: want.item ?? 42 > :: want.list ?? 1..10 > ::die "Bad context; s:g/::/!!/ #

Re: Announcing the Perl 6 and Parrot wiki workspaces

2006-08-28 Thread Juerd
must say I'm a bit surprised that you hadn't heard of feather before. Apparently I should try even harder to get the word out. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Announcing the Perl 6 and Parrot wiki workspaces

2006-08-28 Thread Juerd
a factor 260) and you don't need to sacrifice surfing speed for it. Also, feather has RAID 1 for its harddisks, and daily backups to another host. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: Announcing the Perl 6 and Parrot wiki workspaces

2006-08-28 Thread Juerd
ather is in. Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

Re: clarifying the spec for 'ref'

2006-08-28 Thread Juerd
| | | Class > B | > | > --| > |Class C | > ---- I'm curious what this was supposed to look like. :) Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html

  1   2   3   4   5   6   7   8   >