Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: how to iterate directory

by tybalt89 (Monsignor)
on Jun 22, 2021 at 23:49 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-25 20:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found