On Fri, Apr 29, 2011 at 4:27 AM, Agnello George <agnello.dso...@gmail.com>wrote:
> Hi All > > is there a better way of writing this script > > "Better" is fairly subjective - And with only a part of the program, there isn't much that can be said. Is $status a global variable, or lexical? On the other hand, if you mean more idiomatic way.. That's also subjective :P But here's my stab at it: my $status = join '', grep defined $jvalue{$_}, qw( 0 1 2 3 4 5 ); Brian.