true/false condition - what am I doing wrong?by ultranerds (Friar)
|on Dec 08, 2011 at 14:10 UTC||Need Help??|
ultranerds has asked for the
wisdom of the Perl Monks concerning the following question:
I'm trying to do a basic function that with set $redo bases on the value of $type (either "add" or "edit) ... this is the sample code:
For some reason it always returns "wiki_edit2" ... what am I doing wrong?