Bug#618524: perl: abs_path is broken

2011-03-16 Thread Dominic Hargreaves
severity 618524 minor thanks On Wed, Mar 16, 2011 at 01:15:31AM +0200, Krasu wrote: > Sample code: > > #!/usr/bin/perl > > use strict; > use warnings; > use Cwd; > use Cwd 'abs_path'; > > my $path = $ARGV[0]; > my $r = abs_path($path); > print "$r\n"; > > Test: > > # ./test.pl /usr/lib/ololo

Bug#618524: perl: abs_path is broken

2011-03-15 Thread Krasu
Package: perl Version: 5.10.1-17 Severity: normal Sample code: #!/usr/bin/perl use strict; use warnings; use Cwd; use Cwd 'abs_path'; my $path = $ARGV[0]; my $r = abs_path($path); print "$r\n"; Test: # ./test.pl /usr/lib/ololo /usr/lib/ololo # ./test.pl /usr/lib/ololo/ Use of uninitialized v