Setting:
my $new_version = '9.4.0';
Prints:
Update aht set major = 9 #DBVersion=9.4.0 Update aht set minor = 4 #DBVersion=9.4.0 Update aht set revision = 0 #DBVersion=9.4.0
which is not quite what the OP seemed to be after.
Update: changed 9.4.6 to 9.4.0 to be consistent with OP's sample.
In reply to Re^2: Trying to avoid 9 conditionals
by GrandFather
in thread Trying to avoid 9 conditionals
by techsan02
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |