in reply to using basename on a list of filesnames
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: using basename on a list of filesnames
by 1nickt (Canon) on Nov 13, 2019 at 05:03 UTC | |
by jcb (Parson) on Nov 14, 2019 at 00:35 UTC |