Help for this page

Select Code to Download


  1. or download this
    while (/a/g) {
       ...
    }
    
  2. or download this
    my $count = () = 'baa baa black sheep' =~ /a/g;
    
  3. or download this
    print( ( () = 'baa baa black sheep' =~ /a/g ) >= 3 ? 'more' : 'less' )
    +;