Syntactic Confectionery Delight | |
PerlMonks |
Re: If-else problemby BigJoe (Curate) |
on Jun 15, 2002 at 09:28 UTC ( [id://174822]=note: print w/replies, xml ) | Need Help?? |
A quick look at 5:00 am (where I am from) I would make a change in you if statement from: if ($attributes[0] =~m/Di*/){ To: for case insensitvity. one thing you can do to make it read a little clearer is to try this: By printing like this you can format your HTML a little more sanely. --BigJoe Learn patience, you must. Young PerlMonk, craves Not these things. Use the source Luke.
In Section
Seekers of Perl Wisdom
|
|