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

Re: Backticks and shell brace expansion

by FunkyMonk (Chancellor)
on Jul 31, 2011 at 20:48 UTC ( [id://917723]=note: print w/replies, xml ) Need Help??


in reply to SOLVED Backticks and shell brace expansion

You could let perl handle the deletion using unlink and glob:

unlink glob q<{perl.err,perl.tst}>; # or, glob q<perl.{err,tst}>

Or, if all you want to do is delete a list of files:

unlink qw< perl.err perl.tst >;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-23 15:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found