Syntactic Confectionery Delight | |
PerlMonks |
Re: Renaming all files in a directoryby choroba (Cardinal) |
on Feb 02, 2021 at 13:19 UTC ( [id://11127812]=note: print w/replies, xml ) | Need Help?? |
If you don't want to use Perl's glob, use the shell's globbing instead of parsing the output of ls.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Meditations
|
|