Hi Ramkumar, Ramkumar wrote on Thu, Jul 09, 2009 at 01:14:31PM +0530:
> Please suggest if you have any idea to achive my requirement in perl. An easier solution than the one already suggested might be to use the perl builtin functions glob(3p) and sort(3p), in particular the "sort BLOCK" form. See $ perldoc -f glob $ perldoc -f sort for details. In case you want to process such file names further, pay attention not to pass them to the one-argument forms of exec(3p) or system(3p). White space in file names will usually wreak havoc when naively passed to the shell... Yours, Ingo _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
