# New Ticket Created by Christian Bartolomaeus
# Please include the string: [perl #128031]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=128031 >
Since rakudo commit fe2be65806 there are 5 failing test on rakudo-j in
S04-dec
Hi. Sorry to ask again, but there are two independent questions here. 1) What
is the purpose or best use of 'warn'. 2) How to test code that contains a
'warn' used as it should be.
1) I thought that a 'warn' would be used where sometimes the user would want a
fail but not always. I have a module
I took a look at this. I don't think it's a bug -- but definitely a LTA
error. It's happening because $/ is a parameter and by default parameters
are readonly. So when you call .parsefile it tries to set $/ but it can't
because it's readonly.
You could do method include($/ is copy) { } # or j
On Fri, Apr 29, 2016 at 6:45 PM, Larry Wall wrote:
> If you need to produce actual warnings in hot code, something's wrong
> with your design. (If you just want to print to STDERR, you can use
> 'note' instead.)
>
The latter's more what I was getting at, yes.
--
brandon s allbery kf8nh
On Fri, Apr 29, 2016 at 03:50:21PM -0400, Brandon Allbery wrote:
: On Fri, Apr 29, 2016 at 3:47 PM, Brandon Allbery
: wrote:
: > Oh, they are resumable exceptions? Useful but rather high cost I'd think.
: > (Granting that perl6 isn't one of those languages that think exceptions
: > should be norma
I just have a ~/perl6 where i have a clone of MoarVM/MoarVM, perl6/nqp,
and rakudo/rakudo. You just have to provide each Configure.pl with the
same --prefiix - in my case that's ~/perl6/install - then everything
will find each other.
There's some extra paths in my $PATH:
/home/timo/perl6/
An odd result. Tests were successful but installation failed due to failure to
find a repository.
$ sudo panda --force install Digest
Password:
==> Fetching Digest
==> Building Digest
==> Testing Digest
t/digest.t .. ok
t/ripemd.t .. ok
t/sha.t . ok
All tests successful.
Files=3, Te
Right; looks like Digest isn't properly installed after all. Try 'panda
--force install Digest'?
On 29/04/16 23:39, Joe Polanik -X (jpolanik - RESOLVIT RESOURCES LLC at
Cisco) wrote:
Hmmm, No that gets a similar error.
$ perl6 -MDigest -e1
===SORRY!===
Could not find Digest at line 1 in:
Hmmm, No that gets a similar error.
$ perl6 -MDigest -e1
===SORRY!===
Could not find Digest at line 1 in:
/Users/jpolanik/.perl6
/Applications/Rakudo/share/perl6/site
/Applications/Rakudo/share/perl6/vendor
/Applications/Rakudo/share/perl6
CompUnit::Repository::Absolute
Alright. You mention Digest itself being installed, so just to be sure:
'perl6 -MDigest -e1' works fine?
On 29/04/16 23:21, Joe Polanik -X (jpolanik - RESOLVIT RESOURCES LLC at
Cisco) wrote:
Tadeusz,
I tried using —force because I initially thought I would be
reinstalling Bailador.
Elimina
Tadeusz,
I tried using -force because I initially thought I would be reinstalling
Bailador.
Eliminating --force and --prefix had no effect. Here is the entire output.
$ sudo panda install Digest::HMAC
==> Fetching Digest::HMAC
==> Building Digest::HMAC
==> Testing Digest::HMAC
===SORRY!===
Hey Joe,
Can you post the entire panda output? Also, does the situation change
when you don't use --prefix, and/or is there a particular reason why you
use --force?
On 29/04/16 23:02, Joe Polanik -X (jpolanik - RESOLVIT RESOURCES LLC at
Cisco) wrote:
I'm trying to install Bailador on a Mac ru
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 --prefix=/Applications/Rakudo/share/perl6/site/bin/ --force install
Digest::HMAC
The error message says
On Fri, Apr 29, 2016 at 3:47 PM, Brandon Allbery
wrote:
> Oh, they are resumable exceptions? Useful but rather high cost I'd think.
> (Granting that perl6 isn't one of those languages that think exceptions
> should be normal control flow. But anyone who decides it should be is
> probably in for a
On Fri, Apr 29, 2016 at 3:44 PM, Timo Paulssen wrote:
> I didn't actually read the other mail in this thread yet, but you can
> catch a control exception (like warn uses) with a CONTROL block. Don't
> forget to .resume the exception unless you want it to break out of your
> code, too.
>
Oh, they
I didn't actually read the other mail in this thread yet, but you can
catch a control exception (like warn uses) with a CONTROL block. Don't
forget to .resume the exception unless you want it to break out of your
code, too.
Hope to help!
- Timo
On Fri, Apr 29, 2016 at 1:25 AM, Richard Hainsworth
wrote:
> throws-like { abc('excess') }, Exception, 'got the exception', message =>
> / excess recursion /;
I'm confused as to why you would expect this to work. The point of warn is
it is *not* an exception; an exception by definition aborts c
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
spacemacs
Sent from my iPhone
> On Apr 28, 2016, at 3:26 PM, Tom Browder wrote:
>
> Is there a pointer somewhere on how to set up a complet
# New Ticket Created by Andy Weidenbaum
# Please include the string: [perl #128022]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=128022 >
Consider an HTML templating language with `include` directives similar to
Haml/Jade/P
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 tried
throws-like { abc('excess') }, Exception, 'got the exception', message
=> /
For the records: There is a test for this ticket (currently fudged 'todo') in
S06-other/main-usage.t
# New Ticket Created by Zoffix Znet
# Please include the string: [perl #128029]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=128029 >
zoffix@zoffix-VirtualBox:~$ perl6 -e 'sub MAIN (:@args) { say @args }'
--args=one --args=
# New Ticket Created by Wenzel Peppmeyer
# Please include the string: [perl #128027]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=128027 >
my %e = enum ;
say one.WHAT; # OUTPUT«()»
# expected
# OUTPUT«()»
# The expected
23 matches
Mail list logo