in reply to renaming the file using perl
If I'm guessing your intentions correctly, you have some basic problems with your print statments. First, it looks like your print statements are trying to concatenate strings inside the quotation marks. This won't work. Your print statement should be something like this:
print "***rename $dir/$file", "$dir/$prefix$suffix\n"
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: renaming the file using perl
by finddata (Sexton) on Mar 16, 2017 at 06:12 UTC | |
by nysus (Parson) on Mar 16, 2017 at 18:18 UTC |