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 >;
|
---|
In Section
Seekers of Perl Wisdom