in reply to Re: Re: Code Review Needed!
in thread Code Review Needed!
Your not getting any errors because $s->{terms} always tests true. What if one day it tests false? That is why your testing it.
If it does test false one day, $terms will be undef and strict will throw an 'unitialized' error here:# Assign the inserted values $s->{insert} = { all => [ "%All%", $all ], any => [ "%Any%", $any ], terms => [ "%Terms%", $terms ], . . .
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Code Review Needed!
by redsquirrel (Hermit) on Jul 02, 2001 at 22:58 UTC | |
by CharlesClarkson (Curate) on Jul 03, 2001 at 00:02 UTC |