Shameem Ahamed wrote:
I have files with digits as extensions. Like file.0, file.1 file.2......file.100,file.101 etc.I want to select only the first 30 files. I used glob("file.[0-4]?[0-9]") but it doesn't seem to be working.
Try: "file.{[0-9],[0-4][0-9]}" (untested) Try also: print for <{0,1},{0,1},{0,1}> print for <file.{0,1,2}{0,1,2,3,4,5,6,7,8,9}> -- Ruud -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/