http://www.perlmonks.org?node_id=917723


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 >;