Subject: | Regression: path_to now needs to be run after __PACKAGE__->setup() |
In 5.7014, calling path_to() before __PACKAGE__->setup(), as instructed
for example by the initialization sequence at
http://search.cpan.org/dist/Catalyst-View-TT-0.27/lib/Catalyst/View/TT.pm,
generates the following warning:
Use of uninitialized value $_[0] in string eq at
/opt/local/lib/perl5/site_perl/5.10.0/Path/Class/Dir.pm line 16.
Use of uninitialized value $_[0] in string eq at
/opt/local/lib/perl5/site_perl/5.10.0/Path/Class/Dir.pm line 16.
path_to() worked fine in this context in Catalyst::Runtime 5.7006.
To reproduce the bug, please see
http://scsys.co.uk:8001/17063
HTH,
Dan Dascalescu