my $link = "err"; if ($q->param('title') == "Political Animal") { my $link = "pa"; } elsif ($q->param('title') == "Newslink") { my $link = "nl"; } elsif ($q->param('title') == "New Slang") { my $link = "ns"; }elsif ($q->param('title') == "Rant With Ryan") { my $link = "rwr"; } elsif ($q->param('title') == "Planet Venus") { my $link = "pv"; } elsif ($q->param('title') == "All Day Breakfast") { my $link = "adb"; } else { my $link = "err"; } # add item (tech. replace) LSRfm::Database::Podcasts->create({'title' => $q->param('title'), 'description' => $q->param('de +scription' 'short_description' => $q->par +am('descri 'picture' => $q->param('pictur +e'), 'alt' => $q->param('alt'), 'updated' => Class::Date->now( +), 'link' => $link });
and say $q->param('title') is Polictical Animal, why is it not validating as a truth? and thus Im getting $link=err?
Yours
Barry Carlyon
In reply to Help with an IF? by barrycarlyon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |