I'm not sure if this adds anything, but:
The reason why infix<||> doesn't work as you'd expect, is that operators
like '||' and '&&' operate on expressions, that is to say code, rather than
on values.
The only valid way to extend such operators is to either use macros (which
would receive both side
P.S. I just noticed your "long way": perl6 my_program.pl
If you are invoking the script as an argument to perl6, you don't need
a suffix. Windows needs the .pl suffix to decide what to do with the
file. If you have Perl 5, you are likely have .pl linked to it. I'd
suggest a separate value, perhaps
"There is no "#!/usr/bin/perl6" utility in Windows".
That's not a utility, as such, it's telling the shell where the
program was invoked, which interpreter to use. Windows ignores the !#
line, because it uses the file-type suffix to find the information.
On 1/12/17, ToddAndMargo wrote:
> On 01/1
But should those 2 forms behave differently?
20:40 m: multi infix:<||>(42, 42) {"OK"}; say infix:<||>(42,
42); say 42 || 42
20:40 rakudo-moar 8f3476: OUTPUT«OK42»
Enviado do meu iPhone
> Em 11 de jan de 2017, às 20:20, jn...@jnthn.net via RT
> escreveu:
>
>> On Tue, 10 Jan 2017 17:59:05
# New Ticket Created by fernandocor...@gmail.com
# Please include the string: [perl #130540]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130540 >
If I write another || operator it will continue to use the original version.
I would do a web search for- image manipulation C library, and then check
out the documentation of the results until you find one that has both
enough documentation that you can understand how to use it, and enough
functionality that you need. I would prefer a c library over C++, I imagine
that wou
About what functions can do, you have to look at the library
documentation that you want to use. For example, GNU C library -
http://www.gnu.org/software/libc/manual/pdf/libc.pdf
On Khamis 12 Jan 2017 05:00 , Mueller, Andreas wrote:
Hi,
if I wan't to manipulate an image I guess I can use a l
Hi,
if I wan't to manipulate an image I guess I can use a library with NativeCall.
But what is the right way to find the right library ?
How can I find the right functions in the library and find out what the
functions can do ?
Andreas
[10:04:44] re the shortcircuiting behaviour of && || and friends,
and the fact you cannot override them (RT #130540)
[10:05:09] I wonder whether we perhaps need a new kind of
signature that would make this work:
[10:05:20] sub a(*@a) { dd @a.shift }; my $a = 0; a $a++,$a++; dd
$a
On 01/12/2017 12:02 AM, ToddAndMargo wrote:
What do you replace in Windows?
#!/usr/bin/perl6
Oh I get it. There is no "#!/usr/bin/perl6" utility in Windows.
You just do it the long way:
perl6 my_program.pl
--
~~
Computers are like air condi
On 01/11/2017 09:22 PM, Lloyd Fournier
wrote:
Ah. If that's the case I have nothing useful to
contribute :|
LL
On Thu, Jan 12, 2017 at 4:15 PM Brandon Allbery
wrote:
11 matches
Mail list logo