[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Omaha.pm] warnings... boo!
Sigh... Using Catalyst for web stuff now, which has warnings on.
It's this kind of thing that makes me want to switch warnings off:
my $pagesrc = $c->req->param('pagesrc');
my $pagedst = $c->req->param('pagedst');
if ($self->is_valid_pagesrc_pagedst($pagesrc, $pagedst)) {
# ...
} else {
$c->log->debug("is_valid_pagesrc_pagedst($pagesrc, $pagedst) failed");
Use of uninitialized value in concatenation (.) or string at
/Users/jhannah/src/Omni2/Phoenix/script/../lib/Phoenix/Controller/Omni.pm
line 62.
-grumble- I hate adding extra code to stop warnings from whining about
stuff like that.
j