develooper Front page | perl.perl5.porters | Postings from March 2016

[perl #127684] operators '|||' and '&&&'

Thread Next
From:
bulk88 via RT
Date:
March 14, 2016 18:10
Subject:
[perl #127684] operators '|||' and '&&&'
Message ID:
rt-4.0.18-16417-1457979017-77.127684-15-0@perl.org
On Thu Mar 10 04:10:00 2016, Ulrich.Windl@rz.uni-regensburg.de wrote:
> Hi!
> 
> While writing a program for perl-5.10, I wondered whether the is an
> AND-equivalent for '//' for a closure like
> sub {
>         my $hi = $header_i{(shift)}  ??? return $hi;
>         die;
>     };
> 
> Where '???' is the operator that doesn't exist.

??? looks like unicode replacement characters in an IDE. Very bad choice for an operator. Atleast with C's ? there will very soon be a ":" to the right of it to verify it isn't replacement character. "???" can be bad UTF conversion of source code.

-- 
bulk88 ~ bulk88 at hotmail.com

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=127684

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About