PPT Slide
Perl - compare 2 strings or numbers
if ($SQL_ROW =~ /Database selected/i) { next; }; # Partial match (string only)
if ($SEARCH_STR eq "=") { … }; # Exact match (string only)
if ($input{STAGE} == 2) { … }; # Exact match (number)
Informix-4gl
if (SQL_ROW matches “*Database selected*”) then
continue # Partial match
end if
if (SEARCH_STR = "=") then … end if # Exact match
if (STAGE = 2) then … end if # Exact match (number)
Note: Lowercase i (eye) after search string indicates ignore case.