in reply to Re^2: if ($2) behaves differently than if (defined $2)
in thread if ($2) behaves differently than if (defined $2)
followed byif ($2)
shows that you are using $2 as a semi-predicate, i.e. to show validity and to hold value.$price = $1 . "." . $2
|
|---|