Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: deleting a file in perl

by keralaqueen234 (Initiate)
on Apr 02, 2013 at 07:51 UTC ( #1026611=note: print w/replies, xml ) Need Help??


in reply to Re^3: deleting a file in perl
in thread deleting a file in perl

yes that works .. but in my folder xyz , i have files with names currentlog.log,currentlog123.log,currentlog233.log,detail.txt,see.txt .... i need to delete only the files which has the name pattern of 'currentlog'. other files including currentlog.log need to be retained.how do i find the patern of filenames ?