Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Backticks and shell brace expansion

by FunkyMonk (Canon)
on Jul 31, 2011 at 20:48 UTC ( #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 >;

Comment on Re: Backticks and shell brace expansion
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2014-10-22 01:40 GMT
Find Nodes?
    Voting Booth?

    For retirement, I am banking on:

    Results (112 votes), past polls