[ic] Interchange::Link changes - submitted for your approval

Jon Jensen jon at endpoint.com
Sat Aug 22 16:11:15 UTC 2009


On Sat, 22 Aug 2009, Jon Jensen wrote:

>    $r->content_type($set_content);
>    $skip_blank_lines = $r->dir_config('NoBlankLines');
>    while (<SOCK>) {
>        push @out, $_ unless $skip_blank_lines and ! /\S/;
>    }

Well, it was silly to use a slightly different name, and I see I didn't 
declare the variable first. How about:

     $r->content_type($set_content);
     my $no_blank_lines = $r->dir_config('NoBlankLines');
     while (<SOCK>) {
         push @out, $_ unless $no_blank_lines and ! /\S/;
     }

Jon

-- 
Jon Jensen
End Point Corporation
http://www.endpoint.com/
Software development with Interchange, Perl, PostgreSQL, Apache, Linux, ...



More information about the interchange-users mailing list