Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: remove files starting with white from its folders and sub folders using perl?

by gpssana (Initiate)
on Apr 18, 2017 at 06:07 UTC ( [id://1188198]=note: print w/replies, xml ) Need Help??


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'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1188198]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-25 10:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found