$x % 2 ? $x += 10 : $x += 2 #### (($x % 2) ? ($x += 10) : $x) += 2 #### $capacity =($df_output =~ m[(\d+)%\s+/home$]) ? $1 : 'Match Error';
## (($x % 2) ? ($x += 10) : $x) += 2 ##
## $capacity =($df_output =~ m[(\d+)%\s+/home$]) ? $1 : 'Match Error';