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
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
2 matches
Mail list logo