FAQ

Search Discussions

553 discussions - 2,585 posts

  • Hello, Please excuse my naivety, I'm trying to use NativeCall to interface a Perl6 program with a C library and I have a problem mapping a char ** argument. The C function has this prototype: void ...
    Fernando SantagataFernando Santagata
    May 25, 2016 at 3:35 pm
    May 27, 2016 at 9:31 am
  • I want to capture a divide by 0 exception and replace the value with another. Here is the code I tried: <code use v6; my $d = 1; my $e = 2; my $f = 0; #my $r; my $r = 5; CATCH { # when X::AdHoc { ...
    Richard HainsworthRichard Hainsworth
    May 18, 2016 at 11:07 am
    May 19, 2016 at 4:42 am
  • Hello! Add, please, semantic block "=EXAMPLES" to pod. http://design.perl6.org/S26.html#Semantic_blocks Examples are very often missing in classical man pages. Thank you, Hans
    Hans GinzelHans Ginzel
    May 16, 2016 at 12:01 pm
    May 16, 2016 at 3:54 pm
  • I am enjoying the Perl 6 community and contributing tidbits to the docs. In working with the docs, in Pod 6, I think I see some worthwhile Perl 6 Pod projects that interest me, and I would appreciate ...
    Tom BrowderTom Browder
    May 15, 2016 at 1:28 am
    May 16, 2016 at 1:20 pm
  • Hello! There are good lists of Perl6 features like https://wendyga.wordpress.com/2015/12/25/why-would-you-want-to-use-perl-6-some-answers/ ...
    Hans GinzelHans Ginzel
    May 13, 2016 at 5:25 pm
    May 16, 2016 at 7:48 pm
  • Hi I have installed Perl 6 Rakudo Star 2016.04 but it comes without panda. So I try to install panda and its requirements (Shell::Command, ...) I think the best place for those libraries are in ...
    Sebastien MorettiSebastien Moretti
    May 11, 2016 at 11:33 am
    May 11, 2016 at 3:31 pm
  • I had grammar RatingGrammar { rule TOP { ^ <statement + $ }; rule statement { <id '=' <endvalue if ($/.CURSOR.pos < $/.orig.chars) { self.panic($/, "Declaration syntax incorrect.") } } }; This ...
    Richard HainsworthRichard Hainsworth
    May 11, 2016 at 7:22 am
    May 11, 2016 at 7:26 am
  • Hi, In S05, I found: "Although the default |<.ws | subrule recognizes no comment construct, any grammar is free to override the rule. The |<.ws | rule is not intended to mean the same thing ...
    Richard HainsworthRichard Hainsworth
    May 7, 2016 at 1:54 pm
    May 7, 2016 at 4:43 pm
  • To see which were the most used modules in the ecosystem, and to see how they developed over time, I developed a citation index. I've tracked the data on the modules.perl6.org site since the end of ...
    Richard HainsworthRichard Hainsworth
    May 2, 2016 at 2:05 pm
    May 2, 2016 at 2:05 pm
  • Hello, I'm trying to write a module and make a program load and use it. Since this code: perl6 -e 'say $*REPO' outputs: inst#/home/nando/.perl6 I thought that putting the .pm6 file in there would be ...
    Fernando SantagataFernando Santagata
    May 1, 2016 at 1:20 pm
    May 2, 2016 at 9:39 am
  • Yesterday I made my first attempt at using any library in a Perl6 program -- specifically, DBIish. The following succeeded in establishing a connection to a Postgresql database named 'hierarchy' on ...
    James E KeenanJames E Keenan
    May 1, 2016 at 12:59 pm
    May 1, 2016 at 1:57 pm
  • Hi I've been playing on and off with the system call select (3) (http://linux.die.net/man/3/select) in order to learn a bit Perl 6 and NativeCall. But I get no traction, so I'd like to know what I'm ...
    Kaare RasmussenKaare Rasmussen
    Apr 30, 2016 at 8:35 am
    May 1, 2016 at 3:22 am
  • I'm trying to install Bailador on a Mac running OSX 10.11.4 with the Latest Rakudo Star (2016.04). The installation fails on a dependency. Digest::HMAC can't be installed using sudo panda ...
    Joe Polanik -X (jpolanik - RESOLVIT RESOURCES LLC at Cisco)Joe Polanik -X (jpolanik - RESOLVIT RESOURCES LLC at Cisco)
    Apr 29, 2016 at 9:03 pm
    Apr 30, 2016 at 9:22 pm
  • I have a condition that uses warn something like (its just an illustration) sub abc { ... if $iterations 150 { $iterations = 150; warn 'excess recursion, clamping at 150'; } .... In my test suite I ...
    Richard HainsworthRichard Hainsworth
    Apr 29, 2016 at 5:26 am
    Apr 30, 2016 at 3:38 pm
  • Is there a pointer somewhere on how to set up a complete development environment for Perl 6? I know how to clone individual pieces but I don't know how to use the various cloned directories for a ...
    Tom BrowderTom Browder
    Apr 28, 2016 at 10:26 pm
    May 5, 2016 at 4:58 pm
  • Hi, The documentation about the method act explains that 'the given code is guaranteed to be only executed by one thread at a time'. Can I assume from this that any other thread including the main ...
    Mt1957Mt1957
    Apr 28, 2016 at 9:12 am
    Apr 28, 2016 at 9:40 am
  • # Announce: Rakudo Star Release 2016.04 ## A useful and usable production distribution of Perl 6 On behalf of the Rakudo and Perl 6 development teams, I'm honored to announce the April 2016 release ...
    Steve MynottSteve Mynott
    Apr 25, 2016 at 11:42 pm
    Apr 25, 2016 at 11:42 pm
  • I would like to hack on the pod handling code (particularly the HTML generation) but it seems to be quite scattered around github. Is < github.com/perl6/Pod::To::HTML the definitive repo location for ...
    Tom BrowderTom Browder
    Apr 25, 2016 at 12:13 pm
    Apr 27, 2016 at 7:42 am
  • I have been trying to tidy the Unicode/Texas table in the subject file and have had some success but there seems to be some pod issue I cannot fathom. S26 says we can use E< for unicode, S< for ...
    Tom BrowderTom Browder
    Apr 23, 2016 at 1:18 pm
    Apr 23, 2016 at 1:18 pm
  • Hi, I have a several-thousand-line long Perl 5 script which I've been translating to Perl 6 over some time, and it runs fine, although a little slowly :-) There is however one section which I haven't ...
    Kevin PyeKevin Pye
    Apr 18, 2016 at 11:58 pm
    Apr 27, 2016 at 11:57 pm
  • https://www.reddit.com/r/perl6/comments/4f6jx5/building_perl6_on_android_in_gnuroot_debian/ TLDR: LDFLAGS=-Wl,-z,noexecstack And then zef install --force Readline Moarvm wants to try to execute code ...
    Bennett ToddBennett Todd
    Apr 17, 2016 at 2:18 pm
    Apr 17, 2016 at 2:18 pm
  • Is there any easy way to change the default installation location from '~/.rakudobrew' to something else, say by changing or defining an environment variable? Thanks. -Tom
    Tom BrowderTom Browder
    Apr 13, 2016 at 11:30 am
    Apr 13, 2016 at 2:54 pm
  • Hi, While the perl language already offers so much I have a question not found in perl Is there anything like the C union to do an easy mapping from some native variable to a buf of the same number ...
    Marcel TimmermanMarcel Timmerman
    Apr 11, 2016 at 2:44 pm
    Apr 12, 2016 at 6:55 pm
  • Hi perl6 fans, I can use funny characters in operators or in sub names (using term:<... ). However, when I try the same thing with an operator as in: <code class Foo { method term:<❤ { "mem ...
    Theo van den HeuvelTheo van den Heuvel
    Apr 10, 2016 at 1:23 pm
    May 21, 2016 at 5:20 pm
  • The declarator "constant" is found here: http://doc.perl6.org/language/5to6-nutshell#constant And "Heredocs" are discussed here: http://doc.perl6.org/language/quoting#Heredocs%3A_%3Ato but neither is ...
    Tom BrowderTom Browder
    Apr 4, 2016 at 11:21 am
    Apr 4, 2016 at 4:34 pm
  • Hello guys, I’m writing a small test program to get a feeling about async programming in perl6. The program iterates over a lazy list of file paths and creates chained promises to copy, calculate ...
    Ivaylo IlionovIvaylo Ilionov
    Apr 4, 2016 at 8:55 am
    Apr 4, 2016 at 8:55 am
  • I have a module LIBCIO.pm6: unit module LIBCIO; use NativeCall; sub fopen(Str, Str) returns Pointer is native('libc') is export { * } I then try to use it in a Perl 6 sub: # try NativeCall use lib ...
    Tom BrowderTom Browder
    Apr 3, 2016 at 5:29 pm
    Apr 4, 2016 at 4:02 pm
  • Is there any easy way to get the profilers to use local code (css, js, etc.) rather than reading across a sometimes slow internet connection? I'm using both Chrome and Iceweasel with the same ...
    Tom BrowderTom Browder
    Apr 1, 2016 at 2:28 pm
    Apr 1, 2016 at 4:02 pm
  • Hi everyone, I want to import code into perl6 without using EVAL to be able to install plugins and the like. Are there any ideas e.g. using the meta system. thanks, marcel timmerman
    Juhi en marcelJuhi en marcel
    Mar 10, 2016 at 3:50 pm
    Mar 11, 2016 at 8:14 am
  • Hi all, anybody knows of ongoing efforts for Perl 6 related books? I suspect O'reilly title <http://shop.oreilly.com/product/9780596007379.do is pretty much out of date, or am I wrong? Thanks, Luca
    Luca FerrariLuca Ferrari
    Mar 10, 2016 at 8:59 am
    Mar 11, 2016 at 2:37 pm
  • Hi all, I am running Rakudo 2016-1 on Windows7 (64b) I tried "panda install Linenoise" and get the following result: === == Linenoise depends on Native::Resources == Native::Resources depends on ...
    Theo van den HeuvelTheo van den Heuvel
    Mar 6, 2016 at 2:31 pm
    Mar 6, 2016 at 2:37 pm
  • Hi all, for some reason the Rakudo debugger (perl6-debug-m) does not accept any file name if I try and use a directive like bp add file:line so for example, my sources contain a file named ...
    Theo van den HeuvelTheo van den Heuvel
    Mar 3, 2016 at 9:32 pm
    Mar 4, 2016 at 9:01 am
  • Hello. Is there something like Perl 5's `stdout_is` in Perl 6? If not, can it be implemented using NativeCall? I am using Darwin. Thank you. -- Hiroki Horiuchi from Japan
    Hiroki HoriuchiHiroki Horiuchi
    Mar 2, 2016 at 7:01 am
    Mar 2, 2016 at 10:22 am
  • I am trying to understand the differences in the way the 'split' function works between Perl5 and Perl6. Consider this string: ##### $str = q|This is a string to be split|; ##### Let's suppose I wish ...
    James E KeenanJames E Keenan
    Feb 28, 2016 at 1:34 am
    Feb 28, 2016 at 3:22 pm
  • On rosettacode.org there is an example of memoization for calculating factorials in Perl 6 (contributed by Larry Wall): constant fact = 1, |[\*] 1..*; say fact[5]; How does one code that so that ...
    Tom BrowderTom Browder
    Feb 27, 2016 at 11:53 am
    Feb 29, 2016 at 1:31 pm
  • Dear perl 6 users, I am trying to pass a Nil value to a method new of a class that expects a Str. The method new will assign this Nil value to a Str member variable. Then, this value will change ...
    TS xxTS xx
    Feb 23, 2016 at 2:15 am
    Feb 23, 2016 at 3:37 am
  • What is recommended for installing Perl 6 for system-wide use? I'm comfortable running Perl 6 under my user directory and keeping it current with the latest releases with rakudobrew, but what is the ...
    Tom BrowderTom Browder
    Feb 22, 2016 at 7:51 pm
    Feb 23, 2016 at 1:25 pm
  • On behalf of the Rakudo development team, I’m very happy to announce the February 2016 release of Rakudo Perl 6 #96. Rakudo is an implementation of Perl 6 on the Moar Virtual Machine[^1]. This ...
    Will ColedaWill Coleda
    Feb 22, 2016 at 3:34 pm
    Feb 22, 2016 at 3:34 pm
  • Hi all, I am trying to change a regex programmatically. For that I insert a variable in another regex. However, the match object appears to have lost the capture of the inner regex. In a code ...
    Theo van den HeuvelTheo van den Heuvel
    Feb 22, 2016 at 9:25 am
    Feb 22, 2016 at 10:45 am
  • I notice that module Net::SMTP is on the most wanted list and shown as a WIP. However, on a lark I decided to try: $ panda install Net::SMTP and all the dependencies were fetched, built, tested, and ...
    Tom BrowderTom Browder
    Feb 20, 2016 at 7:51 pm
    Feb 22, 2016 at 4:47 pm
  • Thanks to Steve Mynott a Mac OS X installer is now available. This installer has the ".dmg" file extension and is available from http://rakudo.org/downloads/star/.
    Tobias LeichTobias Leich
    Feb 12, 2016 at 12:28 pm
    Feb 12, 2016 at 12:28 pm
  • Has the Perl 6 organization participated in or are they planning to seek participation in Google's student coding programs? -Tom
    Tom BrowderTom Browder
    Feb 11, 2016 at 11:20 pm
    Feb 22, 2016 at 6:09 am
  • A new Perl 6 Weekly can be found at https://p6weekly.wordpress.com/2016/02/08/2016-56-rakudo-starring/ Liz
    Elizabeth MattijsenElizabeth Mattijsen
    Feb 9, 2016 at 9:25 am
    Feb 9, 2016 at 9:25 am
  • Hi all, maybe this is trivial but somedays ago I step thru learnyounode <https://github.com/workshopper/learnyounode , a kind of tutorial with some problems, hint and solution that guides you to ...
    Luca FerrariLuca Ferrari
    Feb 8, 2016 at 4:15 pm
    Feb 8, 2016 at 4:15 pm
  • Hi Perl 6 users! I've developed an experimental branch that introduces multi-line input to the REPL. What this means is when you enter this: * .say * } You can see a gif of this in action here ...
    Rob HoelzRob Hoelz
    Feb 7, 2016 at 10:28 pm
    Feb 8, 2016 at 12:37 pm
  • I would like to see such a list. It would help separate some of us bloviators, dreamers, and hand wavers from the others on the users list. -Tom
    Tom BrowderTom Browder
    Feb 5, 2016 at 1:18 pm
    Feb 5, 2016 at 11:38 pm
  • Follow-up questions to those I posed on perl6-users today. So I have successfully used rakudobrew to build moar and panda. That perl6 executable is located here: $ which perl6 ...
    James E KeenanJames E Keenan
    Feb 5, 2016 at 12:57 am
    Feb 5, 2016 at 8:10 am
  • The thread I started on the Perl 6 seems to have received a lot of attention, but no one has yet to help me with my RT problem, to wit, I have received no reply from: <span class="m_body_email_addr" ...
    Tom BrowderTom Browder
    Feb 4, 2016 at 4:16 pm
    Feb 4, 2016 at 4:16 pm
  • I am evidently confused as to the relationship, if any, between the 'rakudobrew' utility and the Rakudo::Star distribution. Several weeks ago, when it became apparent that there would be delays in ...
    James E KeenanJames E Keenan
    Feb 4, 2016 at 3:30 am
    Feb 8, 2016 at 12:02 pm
  • # Announce: Rakudo Star Release 2016.01 ## A useful and usable production distribution of Perl 6 On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the January 2016 release ...
    Tobias LeichTobias Leich
    Feb 3, 2016 at 9:05 pm
    Feb 4, 2016 at 9:52 pm
Group Navigation
period‹ prev | Latest | first ›
Group Overview
groupperl6-users @
categoriesperl
discussions553
posts2,585
users320
websiteperl6.org

Top users

Moritz Lenz: 126 posts Tom Browder: 113 posts Conrad Schneiker: 93 posts Patrick R. Michaud: 83 posts Aristotle Pagaltzis: 69 posts Carl Mäsak: 67 posts Richard: 66 posts Guy Hulbert: 60 posts Gabor Szabo: 58 posts Juerd: 57 posts Larry Wall: 57 posts 1parrota: 48 posts Darren Duncan: 42 posts Michael Mathews: 42 posts Timo: 41 posts Tobias Leich: 40 posts Yary: 39 posts Will Coleda: 38 posts Daniel Carrera: 36 posts Marc Chantreux: 35 posts
show more
Archives