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"; }
In reply to Re^4: How do I stop printing a hash value
by iphone
in thread How do I stop printing a hash value
by iphone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |