in reply to Re: using basename on a list of filesnames
in thread using basename on a list of filesnames
that didn't seem to work
i also tried.Use of uninitialized value $_[0] in substitution (s///) at /System/Lib +rary/Perl/5.18/File/Basename.pm line 341, <GEN0> line 10. fileparse(): need a valid pathname
that only gave one filename output from the array.my $basename = basename (@TIFFfolder_list, ".psd"); print "$basename\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: using basename on a list of filesnames
by 1nickt (Canon) on Nov 13, 2019 at 03:51 UTC |
In Section
Seekers of Perl Wisdom