in reply to Re: syntax question
in thread syntax question
next if substr($fld0,-1,1) eq "X";
is not exactly equivalent to
next if $fld0 =~ /X$/;
since $ at the end of a regex is a bit special. From perlre #Metacharacters:
$ Match the end of the line (or before newline at the end)
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
|---|