Is there a way to store and retrieve code for conditions and actions in
a chart? Something like

Condition       action
$Pet eq "dog"           $suggest.="Buy a Bone?"
$numBiscuits >1 $subTotal+=($numBiscuits*2.00)


($cond,$act)=split(/\t/);
if ($cond) { $act; }

I haven't a clue what I need to look up in the perl docs (to learn) to
accomplish this. Can someone point me in the right direction?
   
Thanks,
Jo 


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to