#!/usr/bin/perl -w use strict; my $pattern = "*.old"; # unlink <$pattern>; unlink <*.old>;