Help for this page

Select Code to Download


  1. or download this
    # Interleaved order
    while ( /($a|$d)/g ) {
        print "$1\n";
    }
    
  2. or download this
    # Original order. Note that $1 is now $_.
    for ( /($a)/g, /($d)/g ) {
        print "$_\n";
    }