MrFloydFreak42 has asked for the wisdom of the Perl Monks concerning the following question:
print "#---------mRFLoYDFrEAK42's---------#\n"; print "| DOOM Log Parser |\n"; print "#----------------------------------#\n\n"; if (defined $savegame) { print "Game saved $savegame times.\n\n"; } if (defined $deathcnt) { print "Died $deathcnt times.\n\n"; } if (defined $clipsobt) { print "You have obtained $clipsobt clips.\n"; + } if (defined $ammbxobt) { print "You have obtained $ammbxobt boxes of a +mmo.\n"; } if (defined $shelsobt) { print "You have obtained $shelsobt shells.\n" +; } if (defined $shlbxobt) { print "You have obtained $shlbxobt boxes of s +hells.\n"; } print "-------------------------------------\n"; if (defined $shotgobt) { print "You have obtained $shotgobt shotguns.\ +n"; } print "-------------------------------------\n"; if (defined $armorobt) { print "You have obtained $armorobt Armors.\n" +; } if (defined $megarobt) { print "You have obtained $megarobt MegaArmors +.\n"; } if (defined $armboobt) { print "You have obtained $armboobt armor bonu +ses.\n"; } if (defined $helboobt) { print "You have obtained $helboobt health bon +uses.\n"; } if (defined $medikobt) { print "You have obtained $medikobt medikits.\ +n"; } if (defined $stipkobt) { print "You have obtained $stipkobt stimpacks. +\n"; } print "-------------------------------------\n"; if (defined $redkcobt) { print "You have obtained $redkcobt red keycar +ds.\n"; } if (defined $blukcobt) { print "You have obtained $blukcobt blue keyca +rds.\n"; } if (defined $yelkcobt) { print "You have obtained $yelkcobt yellow key +cards.\n"; } print "-------------------------------------\n"; if (defined $backpobt) { print "You have obtained $backpobt backpacks. +\n"; } if (defined $besrkobt) { print "You have obtained $besrkobt berserk pa +cks.\n"; } print "-------------------------------------\n"; if (defined $secrtobt) { print "You have discovered $secrtobt secrets. +\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: help with "use strict" and code organization
by swampyankee (Parson) on Apr 24, 2008 at 01:04 UTC | |
|
Re: help with "use strict" and code organization
by thezip (Vicar) on Apr 24, 2008 at 06:16 UTC | |
|
Re: help with "use strict" and code organization
by Cody Pendant (Prior) on Apr 24, 2008 at 02:35 UTC | |
|
Re: help with "use strict" and code organization
by toolic (Bishop) on Apr 24, 2008 at 01:04 UTC | |
by MrFloydFreak42 (Novice) on Apr 24, 2008 at 01:15 UTC | |
|
Re: help with "use strict" and code organization
by ysth (Canon) on Apr 24, 2008 at 02:07 UTC | |
|
Re: help with "use strict" and code organization
by runrig (Abbot) on Apr 24, 2008 at 01:10 UTC | |
|
Re: help with "use strict" and code organization
by tachyon-II (Chaplain) on Apr 24, 2008 at 01:12 UTC | |
|
Re: help with "use strict" and code organization
by apl (Monsignor) on Apr 24, 2008 at 01:09 UTC |