in reply to Re^2: 2 substitution problems
in thread Yet another substitution problem
That prints an empty string (no error message) whenever any non-final path component is non-existent or unreadable (due to permissions).#!/usr/bin/perl use Cwd qw/abs_path/; print abs_path( $_ ) for ( @ARGV );
|
|---|