On Sun, May 1, 2016 at 3:36 PM, Tadeusz Sośnierz
wrote:
> Starting from the end: there's no need to use github, panda can install
> stuff just fine from a local directory :)
>
I've been not able to use panda to install a module from a local directory.
I reinstalled panda when I built moar 2016.04
FYI, anything that claims to run parrot code is very out of date at this point.
On Thu, Apr 28, 2016 at 7:52 PM, Jovan Trujillo
wrote:
> I see Padre has hooks for running Perl 6 and even parrot code. Don't know if
> Git is built into it yet. Probably easier to get started than using Emacs or
>
On Sun May 01 08:04:06 2016, pesc...@gmail.com wrote:
> On Thu Apr 21 12:34:10 2016, barto...@gmx.de wrote:
> > On Thu Apr 21 11:53:14 2016, barto...@gmx.de wrote:
> > >
> > > $ perl6-j -e 'say < 8+9i >.re'
> > > Attribute '$!re' is not a native num
> > > in block at -e line 1
> >
> > Oh, looks
On Thu Apr 21 12:34:10 2016, barto...@gmx.de wrote:
> On Thu Apr 21 11:53:14 2016, barto...@gmx.de wrote:
> >
> > $ perl6-j -e 'say < 8+9i >.re'
> > Attribute '$!re' is not a native num
> > in block at -e line 1
>
> Oh, looks like rakudo-j has other problems with the attributes of
> ComplexStr:
On Sun, May 1, 2016 at 7:11 AM, Alex Jakimenko wrote:
> Now, obviously, it is a little bit weird for the user to try to read from
> $*IN when -n
Not that weird. Let the loop read chunk headers, and read/process the rest
of the chunk in the middle of the loop. It's used that way in perl5 and
oth
On 01.05.2016 15:36, James E Keenan wrote:
>
> Thanks; that worked:
>
> #
> cat dbiish_connect_dynamic_3.pl6
> #!/usr/bin/env perl6
> use DBIish;
>
> my $db = 'hierarchy';
> my $dbh = DBIish.connect("Pg", :database($db));
Another nice little language feature is that you can reuse the name o
Thanks, I'll try that!
On May 1, 2016 15:31, "Tadeusz Sośnierz" wrote:
> To expand on why putting the file in a directory doesn't Just Work, and
> why so much magic needs to be there for it to work: loading modules is a
> complicated thing in Perl 6, and long story short, if you want to be able
>
Starting from the end: there's no need to use github, panda can install
stuff just fine from a local directory :)
As for the directory layout,
https://github.com/rakudo/rakudo/blob/nom/docs/module_management.md is
probably the best source to learn how it works under the hood.
Hope this helps,
On 05/01/2016 09:12 AM, Mathieu Gagnonn wrote:
Hello James,
You can try :database($db)
Look at this http://design.perl6.org/S02.html#Adverbial_Pair_forms
I've found it very useful!
James E Keenan writes:
Yesterday I made my first attempt at using any library in a Perl6
program -- specifical
Yes, that works too. But I was just trying to understand how the directory
layout works.
In particular I was trying to reproduce what panda does, since I didn't
want to use github.com just to install a test module.
I found no documentation about this, so I tried this mailing list.
On May 1, 2016 1
Right - use parenthesis in colon-pair parameters to get the variable
inside. You could use :database<<$db>> to make it like a double-quoted
string. Or my favorite is to use regular => as in database => $db
--Brock
On May 1, 2016 09:13, "Mathieu Gagnonn" wrote:
Hello James,
You can try :databas
To expand on why putting the file in a directory doesn't Just Work, and
why so much magic needs to be there for it to work: loading modules is a
complicated thing in Perl 6, and long story short, if you want to be
able to have multiple versions installed and loadable at the same time,
you need
I recommend putting your module into a 'lib' dir near your script. Then in
your script add:
use lib 'lib';
That way you don't have to add the -l param.
On May 1, 2016 09:21, "Fernando Santagata"
wrote:
> Hello,
>
> I'm trying to write a module and make a program load and use it.
> Since this
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 enough. So, since my
module is A::B, I put B.pm6 into ~/.perl6/A .
But when I run a test progra
Hello James,
You can try :database($db)
Look at this http://design.perl6.org/S02.html#Adverbial_Pair_forms
I've found it very useful!
James E Keenan writes:
> Yesterday I made my first attempt at using any library in a Perl6
> program -- specifically, DBIish.
>
> The following succeeded in est
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 the same disk as Perl6:
#
$ cat dbiish_connect.pl6
#!/usr/bin/env perl6
use DBIish;
my $db
# New Ticket Created by James E Keenan
# Please include the string: [perl #128048]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=128048 >
One of the joys of Perl 5 is that at the command-line I can issue a command
like:
###
Hi,
Thanks for the explanation, sorry for creating the bug entry.
regards,
Marcel
On May 1, 2016 1:28:58 PM "Sam S. via RT" wrote:
PS: Or if you don't like the `hash` keyword, you can use the %( )
contextualizer which does the same thing:
my Hash $h = %( f1 => $_ );
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #128047]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=128047 >
This bug report is somewhat related to
https://rt.perl.org/Ticket/Display.html?id=1280
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #128046]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=128046 >
So, in this bug report we will be attempting to read $*IN when we are already
reading i
Fixed with 1e54c52 , not sure whether tests are needed.
> On 01 May 2016, at 11:48, Alex Jakimenko (via RT)
> wrote:
>
> # New Ticket Created by Alex Jakimenko
> # Please include the string: [perl #128045]
> # in the subject line of all future correspondence about this issue.
> # https://rt
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #128045]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=128045 >
Code:
say $.
Result:
===SORRY!=== Error while compiling -e
Unsupported use of $. varia
Fixed with b61ca12 , tests needed.
> On 30 Apr 2016, at 18:11, Elizabeth Mattijsen wrote:
>
>> On 30 Apr 2016, at 17:00, Carl Mäsak (via RT)
>> wrote:
>>
>> # New Ticket Created by "Carl Mäsak"
>> # Please include the string: [perl #128038]
>> # in the subject line of all future correspon
23 matches
Mail list logo