Subject: | File::Spec::Unix::catpath does not check args for defined'ness |
% perl -w -MFile::Spec -le 'print File::Spec->catpath("", "a/b/c")'
Use of uninitialized value $file in string ne at
/usr/local/lib/perl/5.14.2/File/Spec/Unix.pm line 321.
Use of uninitialized value $file in concatenation (.) or string at
/usr/local/lib/perl/5.14.2/File/Spec/Unix.pm line 329.
a/b/c
Note that the output is correct, it's just that under -w two warnings
get generated.
Randy
--
Randy J. Ray
rjray@blackperl.com
randy.j.ray@gmail.com