[Omaha.pm] warnings... boo!

Jay Hannah jay at jays.net
Wed Jan 2 09:23:05 PST 2008


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



More information about the Omaha-pm mailing list