Use something like:
as the body of your while loop.print map {defined () ? $_ : "--"} @results; print "\n";
And with the latest development version, you can write that as
Abigailprint map {$_ // "--"} @results; print "\n";
In reply to Re: Substituting '--' for Nulls
by Abigail-II
in thread Substituting '--' for Nulls
by johnirl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |