[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: [RELEASE CANDIDATE] Apache-Test-1.34 RC1
From:       Torsten =?iso-8859-1?q?F=F6rtsch?= <torsten.foertsch () gmx ! net>
Date:       2010-12-18 12:16:24
Message-ID: 201012181316.25154.torsten.foertsch () gmx ! net
[Download RAW message or body]

On Wednesday, December 15, 2010 14:36:41 Mario Brandt wrote:
> t\log_watch.t ............ Use of uninitialized value $fn in unlink at
> t\log_watch.t line 16.

Here are the lines that course the failure:

  my $fn=t_catfile(Apache::Test::vars->{t_logs}, 'watch');
  unlink $fn;

You see $fn at unlink-time is the output of t_catfile without modifications. 
How can that be undef at this point?

I don't have a windows development environment. But on Linux even if vars-
>{t_logs} is undef t_catfile won't return undef:

  $ perl -MApache::TestUtil=t_catfile -le 'print t_catfile undef, "watch"'
  /watch

I have no clue what is wrong here.

Torsten Förtsch

-- 
Need professional modperl support? Hire me! (http://foertsch.name)

Like fantasy? http://kabatinte.net

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic