At 1:45 PM +1000 5/29/06, Stuart Cook wrote:
On 5/29/06, Darren Duncan <[EMAIL PROTECTED]> wrote:
There are many places where the bareword "self" is used, whereas I
believe the current syntax is "$?SELF" for the same thing, and has
been for awhile.
Actually, I seem to recall `self` being accep
On 5/29/06, Darren Duncan <[EMAIL PROTECTED]> wrote:
I discovered in reading Synopsis 12 today that some code examples use
out of date syntax, as I understand it:
For example, look in the "Roles" main documentation section.
There are many places where the bareword "self" is used, whereas I
beli
I discovered in reading Synopsis 12 today that some code examples use
out of date syntax, as I understand it:
For example, look in the "Roles" main documentation section.
There are many places where the bareword "self" is used, whereas I
believe the current syntax is "$?SELF" for the same thin
G'day Conrad, Amir, and P6U,
Conrad Schneiker wrote:
> I certainly agree. However, someone has to take the initiative to actually
> start using (http://perl.net.au/wiki/Perl_6), and to post links back here
> for others to follow up on. Will that person be you? :-) I'm all for using
> that wiki to
> From: Darren Duncan [mailto:[EMAIL PROTECTED]
> Sent: Sunday, May 28, 2006 2:38 PM
[...]
> For one thing, I'm assuming that a prize-qualifying solution won't be
> able to link-in legacy Perl 5 modules using Pugs' "use perl5:Foo"
> syntax; to do so would look bad if we are wanting to show off a Wi
> -Original Message-
> From: Amir E. Aharoni [mailto:[EMAIL PROTECTED]
> Sent: Sunday, May 28, 2006 1:54 PM
[...]
> It's funny - i was the first one who proposed the wiki idea and i
> didn't think that it will go so far (1000$$$). If you ask me, this
> wiki should be done ASAP in Media-
>
> Noone other than Mediawiki uses the Mediawiki syntax. I posit
> that the reason is that that syntax blows chunks.
Actually dokuwiki uses an almost the exact same syntax as mediawiki..
except they invert the headers (== foo == stuff).
as for a perl6 wiki.. I agree that there are already many
Michael Mathews skribis 2006-05-28 20:32 (+0100):
> Well, one example would be Damian's Exegesis 5 at
> http://dev.perl.org/perl6/doc/design/exe/E05.html which I thought was
> an authorative word on the subject. Can you give me a link to working
> examples of regex in pugs please?
The exegeses are
Michael Mathews skribis 2006-05-28 20:32 (+0100):
> And, as an incentive, I'm offering 1000 Colombian Pesos to the first
> person to author a working example of s/+/ /g; in Perl 6*.
If your PGE support works, s/+/ /g still does not. It's s:g/\+/ /.
Juerd
--
http://convolution.nl/maak_juerd_blij
> From: Juerd [mailto:[EMAIL PROTECTED]
> Sent: Sunday, May 28, 2006 3:55 AM
[...]
> Conrad Schneiker skribis 2006-05-27 14:34 (-0700):
> > So I'm offering to post a $1,000 prize (The AthenaLab "The 1st Extreme
> > Leverage Prize" for Perl 6), to be awarded to the person that delivers
> > the
> > f
* Darren Duncan <[EMAIL PROTECTED]> [2006-05-28 23:40]:
> For one thing, I'm assuming that a prize-qualifying solution
> won't be able to link-in legacy Perl 5 modules using Pugs' "use
> perl5:Foo" syntax; to do so would look bad if we are wanting to
> show off a Wiki solution using the NEW technol
I'm wondering about some implementation logistics.
For one thing, I'm assuming that a prize-qualifying solution won't be
able to link-in legacy Perl 5 modules using Pugs' "use perl5:Foo"
syntax; to do so would look bad if we are wanting to show off a Wiki
solution using the NEW technology.
T
* Amir E. Aharoni <[EMAIL PROTECTED]> [2006-05-28 23:00]:
> The popularity of Wikipedia made Media-Wiki syntax the de-facto
> standard. It's not perfect, but please don't reinvent the wheel
> (even though it's a PHP wheel).
I plead not guilty.
Markdown is nothing new, and it has half a dozen impl
On 5/28/06, Ricardo SIGNES <[EMAIL PROTECTED]> wrote:
* Adam Kennedy <[EMAIL PROTECTED]> [2006-05-27T23:48:43]
> The questions that are being asked are for the user's benefit. That is
> NOT being a freeloader. Freeloading is taken something from the user and
> providing nothing in return.
She's
On Sunday 28 May 2006 13:48, Michael G Schwern wrote:
> More importantly, the statistics gathered would help an author to determine
> who, if anyone, is using their module and on what platforms and guide their
> development. What versions of Perl does one have to support? What
> platforms? Do I
Beep beep. I, for example, hate the verbosity of html, but i use it
nevertheless. The popularity of Wikipedia made Media-Wiki syntax the
de-facto standard. It's not perfect, but please don't reinvent the
wheel (even though it's a PHP wheel).
It's funny - i was the first one who proposed the wiki
* Juerd <[EMAIL PROTECTED]> [2006-05-28 19:35]:
> - MediaWiki-compatible syntax
I hate the Mediawiki syntax. Can we have something that
understands blocks, like Markdown? Just add [[foo]] as intrawiki
link syntax.
> - Most \W characters can be safely used
Yeah, that is true for Markdown.
>
On 28/05/06, Juerd <[EMAIL PROTECTED]> wrote:
Michael Mathews skribis 2006-05-28 15:46 (+0100):
> Also is the operator "~~" or "=~"? I've found contradictory references
> to both in books and online.
It was "=~" in Perl 5, but it's "~~" in Perl 6. Please report
occurrences of "=~" to the respect
- Original Message
> From: Conrad Schneiker <[EMAIL PROTECTED]>
>
> More code here (and in subdirectories):
> https://svn.perl.org/perl6/pugs/trunk/ext/CGI
I'm on a friend's computer so I can't check that, but I seem to recall that
that interface was borrowed directly from Perl5's CGI.p
Michael Mathews skribis 2006-05-28 15:46 (+0100):
> $v =~ s/+/ /;
That is:
$v = (~ s/+/ /);
> What's "" mean?
That is how Pugs stringifies "s/+/ /", as requested with the
stringification operator "~"
> Also is the operator "~~" or "=~"? I've found contradictory references
> to both in book
Conrad Schneiker skribis 2006-05-27 14:34 (-0700):
> So I'm offering to post a $1,000 prize (The AthenaLab "The 1st Extreme
> Leverage Prize" for Perl 6), to be awarded to the person that delivers the
> first (Perl 6)**2 Wiki that meets some moderate specifications.
Wow! Thanks for doing the worl
On 28/05/06, A. Pagaltzis <[EMAIL PROTECTED]> wrote:
I think you'll end up doing s:p5/// or however exactly it is
spelled where you can just write a Perl 5 regex.
#!/usr/bin/pugs
my $v = "one+two+three";
$v =~ s/+/ /;
print $v;
prints...
What's "" mean? Do I need to do something special to g
* Michael Mathews <[EMAIL PROTECTED]> [2006-05-28 16:15]:
> For that matter can anyone give a working (under pugs) example
> of a simple substitution using Perl6 regex, "+" => " " for
> example?
I think you’ll end up doing s:p5/// or however exactly it is
spelled where you can just write a Perl 5
On 28/05/06, Andrew Shitov <[EMAIL PROTECTED]> wrote:
Not first ;-)
http://real.perl6.ru/p6/environment/
http://real.perl6.ru/p6/querystring/?one=alpha&two=beta&three=gamma&empty&four=delta
http://real.perl6.ru/p6/cookie/ (refresh twice)
http://real.perl6.ru/p6/queryhash/?one=alpha&two=beta&thre
> "sixwiki"? a "plixi"? erm-) I think the first hurdle would be getting
> CGI going on 6. Is this already proven? If so how?
Not first ;-)
http://real.perl6.ru/p6/environment/
http://real.perl6.ru/p6/querystring/?one=alpha&two=beta&three=gamma&empty&four=delta
http://real.perl6.ru/p6/cookie/ (re
> From: Michael Mathews [mailto:[EMAIL PROTECTED]
> Sent: Sunday, May 28, 2006 2:38 AM
>
> Here's my first stab at a perl 6 cgi script. It's unusably slow under
> pugs, but that's a problem for the "optimisation people" :-) not me!
>
> If I'm reinventing the wheel here just tell me,
Don't know
* Michael Mathews <[EMAIL PROTECTED]> [2006-05-28 11:40]:
> #!/usr/bin/pugs
>
> say "content-type: text/html\n\n";
> my %q = ();
> my @q = split '&', %ENV.{'QUERY_STRING'};
> for (@q) {
> my ($n, $v) = split '=', $_;
>
> # TODO: deal with URI encoding
> # similar to perl5:
> From: Michael Mathews [mailto:[EMAIL PROTECTED]
> Sent: Sunday, May 28, 2006 12:25 AM
[...]
> On 27/05/06, Conrad Schneiker <[EMAIL PROTECTED]> wrote:
> > So I'm offering to post a $1,000 prize (The AthenaLab "The 1st Extreme
> > Leverage Prize" for Perl 6), to be awarded to the person that deliv
Here's my first stab at a perl 6 cgi script. It's unusably slow under
pugs, but that's a problem for the "optimisation people" :-) not me!
If I'm reinventing the wheel here just tell me, but it's still a
useful learning exercise (I'm embarrassed to tell you how long this
took me to get working!).
* Adam Kennedy <[EMAIL PROTECTED]> [2006-05-27T23:48:43]
> The questions that are being asked are for the user's benefit. That is
> NOT being a freeloader. Freeloading is taken something from the user and
> providing nothing in return.
She's providing her free code in return.
--
rjbs
signatu
* Michael Mathews <[EMAIL PROTECTED]> [2006-05-28 10:10]:
> (would that be a "pliki"? a "sixwiki"? a "plixi"? erm-)
Pliki Sixi?
Regards,
--
#Aristotle
*AUTOLOAD=*_;sub _{s/(.*)::(.*)/print$2,(",$\/"," ")[defined wantarray]/e;$1};
&Just->another->Perl->hacker;
Thinking about the wiki on 6 challenge (would that be a "pliki"? a
"sixwiki"? a "plixi"? erm-) I think the first hurdle would be getting
CGI going on 6. Is this already proven? If so how?
I'm investigating this now, but if someone wants to offer a working example...
--michael
On 27/05/06, Conrad Schneiker <[EMAIL PROTECTED]> wrote:
So I'm offering to post a $1,000 prize (The AthenaLab "The 1st Extreme
Leverage Prize" for Perl 6), to be awarded to the person that delivers the
first (Perl 6)**2 Wiki that meets some moderate specifications.
Now would that be New Zealan
33 matches
Mail list logo