go ahead... be a heretic | |
PerlMonks |
Re: using basename on a list of filesnamesby jcb (Parson) |
on Nov 13, 2019 at 04:27 UTC ( [id://11108610]=note: print w/replies, xml ) | Need Help?? |
This is an XY Problem. You are using basename correctly. Try changing print "$file\n"; to push @Files, $file; and adding my $file = join(' ', @Files); just before line 24. Meditate upon those changes and you will gain understanding.
In Section
Seekers of Perl Wisdom
|
|