in reply to Using with a variable

As documented, you'll get good results if you use
unlink <${pattern}>;
But I agree, in modern Perls (as of 5.6), the easier way to go is:
unlink glob $pattern;
-- Randal L. Schwartz, Perl hacker