Use length ...
But why? Nothing from map { /^\*\s\(?([^\)]+)\)?/ ? $1 : () } in toolic's OPed code will ever have zero length.
In reply to Re^3: Assign result of map to scalar variable
by AnomalousMonk
in thread Assign result of map to scalar variable
by ram31
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |