Perl tem métodos nativos para isso. De CPAN :
% bl0ck_qu0te%E 1 que usa globbing:
% bl0ck_qu0te%Menciona ...
% bl0ck_qu0te%A partir dos exemplos no link:
rmove('foo/bar/baz', '/etc/');
# "baz" is removed from foo/bar after it is successfully copied to /etc/