perl-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Förtsch <torsten.foert...@gmx.net>
Subject Re: [RELEASE CANDIDATE] Apache-Test-1.34 RC1
Date Sat, 18 Dec 2010 12:16:24 GMT
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

Mime
View raw message