# New Ticket Created by  Kevin Colyer 
# Please include the string:  [perl #125116]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=125116 >


Dear All,

This is not a bug, but not sure how to add a suggestion. I love the 
helpful Sorry! messages and I think there is some room for an 
improvement to one. It would have saved me about 20 mins headache last 
night anyway.

Bitwise operators in perl6 are not the same as in c, perl5 or other 
languages and this can catch people out. I discovered a helpful message 
with >> but there is none for & instead it makes a junction for you. It 
took me ages to figure this out.

 > my $a = 4
4
 > $a >> 2
===SORRY!=== Error while compiling <unknown file>
Unsupported use of >> to do right shift; in Perl 6 please use +> or ~>
at <unknown file>:1
------> $a >>⏏ 2
 > $a & 2
all(4, 2)

I wonder if there is benefit in adding a parenthesis to this indicating 
the other bitwise operators) such as


Unsupported use of >> to do right shift; in Perl 6 please use +> or ~> 
(other bitwise operators are similar +< right shift, +& and , +| or, +! 
negation)

Keep up the good work!

Kevin

-- 
KEVIN COLYER
* YWAM Reading Associate
* Fresh Expressions Representative for YWAM England
* Emmanuel Anglican Church, Woodley

Reading, UK
Tel: +44 (0) 7967 105 273
Home: +44 (0) 118 376 7471
skype: kevincolyerwork
(alt email: [email protected])

http://www.freshexpressions.org.uk
   Changing church for a changing world
http://www.emmanuelwoodley.org.uk
http://www.ywamreading.com
http://www.thecolyers.net
http://www.ywamengland.org
http://www.ywamkb.net
   The YWAM KnowledgeBase: for YWAMers
   to find and help each other online
http://www.incarnationalgraffiti.com
   YWAM blog provoking creativity, missional thinking,
   dialogue and spirituality – engaging in an urban europe

Reply via email to