On Thu, Jan 27, 2011 at 07:59:41PM +0000, Rob Dixon wrote:
> On 27/01/2011 06:23, Ramesh Kumar wrote:
> >
> >Hi Rob,
> >
> >I refer to your 2 lines of code:
> >
> >   my $data = '<{5, 26}{20, 42, 64}{23, 48}>';
> >   my $list = [ map { [ $_ =~ /\d+/g ] } $data =~ /(\{.*?\})/g ];
> >
> >That's the type of Perl coding style I'm still trying to learn. Concise and
> >elegant. Beautiful!!!

Maybe it doesn't belong in production code but I must agree with Mr. Kumar,
'Concise, elegant, beautiful.'
My hat's off to you.
Mike McClain

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to