Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: how to iterate directory

by tybalt89 (Prior)
on Jun 22, 2021 at 23:49 UTC ( #11134188=note: print w/replies, xml ) Need Help??


in reply to how to iterate directory

Here's a guess...

system "cut -opts $_/file >$_/newfile" for qw( d1 d2 d3 d4 d5 );

Of course, change "-opts" to your actual "cut" flags and "file" and "newfile" to your desired file names.

If this is not what you are looking for, a better description of your problem is needed...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2022-01-28 01:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (72 votes). Check out past polls.

    Notices?