note
stevieb
<p>Like this?:</p>
<c>
use warnings;
use strict;
use Path::Tiny;
my $path = path("/a/b/c/$ENV{USER}")->absolute;
print "$path\n";
</c>
<p>Output:</p>
<c>
spek@scelia ~/scratch $ perl path.pl
/a/b/c/spek
</c>
<p>If not, I fail to realize what it is exactly you're after.</p>
11133617
11133617