On Thursday, July 09, 2009 6:35 AM, Ingo Schwarze wrote: > 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.
Your help is accurate from a certain point of view, but does not really advance Rakumar toward an answer. You suggest "sort BLOCK"... but what would you put *into* that BLOCK? I can't think of any solution off the top of my head, without getting insanely complex. Is there a CPAN module that provides this sort behavior? -- Eric Roode _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
