On 27/03/17 18:53, ToddAndMargo wrote:
Hi All,
What am I doing wrong in my "AND not 789"?
$ perl6 -e 'my $x="abc123def456";
my $y="123"; if $x.contains( $y & "abc" & ! "789" )
{say "Yes"} else {say "no"};'
no
-T
On 03/27/2017 10:11 AM, Timo Paulssen wrote:
> !"789" is just False.
>
>
How do I say
if ( $y is included ) AND ( "abc" is included ) AND
( "789" is NOT included) ?
-T
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~