Noverast has asked for the wisdom of the Perl Monks concerning the following question:

Please help me with the following. Here is my code:

$pax_1="180"; $pax_2="260"; $pax_3="300" $pax_4="450"; $maxadults = "3"; $plus2 = "1"; $currencycode = "ZAR"; while ($maxadults >= $plus) { $paxing = "$pax_$plus"; $sleeps = $sleeps . "$currencycode$paxing for $plus persons<br>"; $plus++; }

I keep getting ZAR1 for 1 persons, ZAR2 for 2 persons, etc.. I've tried '' but then I get R$pax_$plus for 1 persons Pleas help.