cwchen icon

[Perl 6] Checking the existence of elements with cont

cwchen | PRO | 11/09/17 02:25:45 AM UTC | 0 ⭐ | 8145 👁️ | Never ⏰ | []
Perl 6 |

0 B

|

None

|

0 👍

/

0 👎

my $set= (1, 2, 3, 4, 5).Set;
 
$set (cont) 1 or die "Wrong status";
($set (cont) 10) == False or die "Wrong status";

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎