in reply to Re^3: How do I stop printing a hash value
in thread How do I stop printing a hash value

Thanks for all your help.The following works for me.

if (scalar @$value) { # check that the arrayref isn't empty my @arr = grep(!/^\/\*/, @$value); print "\n ", join(", ", @arr), "\n\n"; }