Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: remove files

by hippo (Bishop)
on Nov 20, 2019 at 16:22 UTC ( [id://11108946]=note: print w/replies, xml ) Need Help??


in reply to remove files

Are you expecting this program to take the list of files to delete from its arguments or to read them from standard input? It currently seems to confuse the two which is likely where the problem lies.

Replies are listed 'Best First'.
Re^2: remove files
by catfish1116 (Beadle) on Nov 20, 2019 at 17:17 UTC

    remove from standarad input. Thanks !

      In that case, consider looping over @removed_files instead of @ARGV and see if that does the trick.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-26 07:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found