Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Simple IF, IF, IF or ELSEby abachus (Monk) |
on Jun 28, 2006 at 20:44 UTC ( [id://558144]=perlquestion: print w/replies, xml ) | Need Help?? |
abachus has asked for the wisdom of the Perl Monks concerning the following question:
Hello once again ! The code below as you can see is a simple way to assign a value to $drink after $punter has been evaluated.
Now, surely there is a better way to do it, by that i mean with less lines of code, and if possible doing the same in a more efficient way. I look forward to any answers, thanks,Isaac.
Back to
Seekers of Perl Wisdom
|
|