Help for this page

Select Code to Download


  1. or download this
    next if ($element eq $compare);
    
  2. or download this
    ($front, $back) = split /:/, $compare;
    if ( $compare =~ /:$back$/ ) {
      # do something
    }
    
  3. or download this
    $moduloc = () = $compare =~ /X(\d+):/; # Grab the divisor.
    $moduloe = () = $element =~ /X(\d+):/; # Grab the other one.
    ...
    if ( not ($moduloe)%($moduloc) ) {
      # Do something.
    }