in reply to Re: remove files starting with white from its folders and sub folders using perl?
in thread remove files starting with white from its folders and sub folders using perl?

The above modifications are not considering the filenames which starts with task from the folders and sub folders
  • Comment on Re^2: remove files starting with white from its folders and sub folders using perl?

Replies are listed 'Best First'.
Re^3: remove files starting with white from its folders and sub folders using perl?
by shmem (Chancellor) on Apr 18, 2017 at 08:22 UTC
    The above modifications are not considering the filenames which starts with task from the folders and sub folders

    which starts with task - you mean "which start with whitespace" surely. If you code the same way as you post, your programs will be full of glaring bugs.

    Show your modified code.

    perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'