Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Using wildcards to open files.

by aitap (Deacon)
on Oct 25, 2012 at 16:00 UTC ( #1000894=note: print w/replies, xml ) Need Help??


in reply to Using wildcards to open files.

You shouln't use one-argument form of system in such unsafe way (imagine somebody running in that directory: touch file \;\ -rf\ \* and thus creating a file named file; rm -rf *). Use quotemeta to quote special characters or use IPC::Run and pass arguments and file redirections as list elements.
Sorry if my advice was wrong.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000894]
help
Chatterbox?
[Corion]: 1nickt: No, I'm using it with Windows 10, but with the 4k display, yes. It's a very nice build IMO, and relatively sturdy. Also, it got 8 or 9 on the ifixit repair scale, which I consider good
[Corion]: ... especially as I expect to have to replace the battery set in two or three years' time
[1nickt]: Nice. So happy that Dells are still user-repairable. Unusual these days.
[1nickt]: I will certainly not be buying any more Macs.
[Corion]: 1nickt: Yeah, or at least, I hopoe so ;)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2017-03-27 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.