in reply to Re: how to convert fractional string to decimal numbers ?
in thread how to convert fractional string to decimal numbers ?
m{...} is the match operator, often seen as /.../. See perlop and perlre
=~ tell m//, s/// and tr/// on which variable to operate.
$1 and $2 are set by m//. See perlre
EXPR ? EXPR : EXPR is the conditional operator. See perlop
|
|---|