[Omaha.pm] warnings... boo!

Jay Hannah jay at jays.net
Wed Jan 2 09:34:28 PST 2008


On Jan 2, 2008, at 11:23 AM, Jay Hannah wrote:
> Use of uninitialized value in concatenation (.) or string at
> /Users/jhannah/src/Omni2/Phoenix/script/../lib/Phoenix/Controller/ 
> Omni.pm
> line 62.

I settled for this:

    } else {
        no warnings 'uninitialized';
        $c->log->debug("is_valid_pagesrc_pagedst($pagesrc, $pagedst)  
failed");

The no warnings only effects that else block, so it's pretty harmless.

j




More information about the Omaha-pm mailing list