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

2007-12-31 Thread larry
Author: larry
Date: Mon Dec 31 08:07:21 2007
New Revision: 14475

Modified:
   doc/trunk/design/syn/S03.pod

Log:
cut-n-paste braino noticed by pmichaud++


Modified: doc/trunk/design/syn/S03.pod
==
--- doc/trunk/design/syn/S03.pod(original)
+++ doc/trunk/design/syn/S03.podMon Dec 31 08:07:21 2007
@@ -12,9 +12,9 @@
 
   Maintainer: Larry Wall <[EMAIL PROTECTED]>
   Date: 8 Mar 2004
-  Last Modified: 26 Oct 2007
+  Last Modified: 31 Dec 2007
   Number: 3
-  Version: 124
+  Version: 125
 
 =head1 Overview
 
@@ -1700,7 +1700,7 @@
 
 test1() orelse -> $! { test2() }
 
-(The low-precedence C operator is similar, but does not set C<$!> or
+(The high-precedence C operator is similar, but does not set C<$!> or
 treat blocks specially.)
 
 =back


calling parrot from perl6

2007-12-31 Thread Richard Hainsworth

Not sure whether this should be p6-lan or p6-users. Posted to p6l only.

Given a function implemented in parrot, how can it be called from a 
perl6 program?


Suppose I have a file (in current path)

myfun.pir

which contains

.sub myfun
   .param pmc passed_variable
   .local int an_int
   an_int = passed_variable[1]
   .local string string_var
#code
   .return (string_var)
  end# is this necessary?
.end

how do I create a mymodule.pm so that I can in a perl6 program do

use mymodule;

my $parameter = 30;
my $string_var = myfun($parameter);

???

If this is documented, please just send a pointer.

Richard



Re: Perl6::Doc # Hail to the new pharao

2007-12-31 Thread herbert breunung

hello c

i have now permisson from you, mjd, phil crow and jonathan and perl.com 
is also

mentioned in the head as you see here:

http://search.cpan.org/dist/Perl6-Doc/lib/Perl6/Doc/Magazine/perl.com/EverydayPerl6.pod



its all moving along.

and special thanks to allison and patrick for helping me with the 
interviews. there will be new

content in the tables soon.

http://www.perlfoundation.org/perl6/index.cgi?perl_table

cheers and happy new year


On Friday 28 December 2007 17:04:40 herbert breunung wrote:

  

I have also plans to add my perl article (once they transelated) for $foo
perl magazine and maybe some perl.com articles, if chomatic allowes.



It's fine with O'Reilly, as long as the authors of the articles agree (they 
hold the copyright).  Where I'm the author, you have my permission.


O'Reilly generally asks that you include a link to the original article as 
published on our site, but that's a request and not a requirement.


-- c