in reply to Substituting '--' for Nulls
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";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Substituting '--' for Nulls
by virtualsue (Vicar) on Aug 13, 2002 at 12:24 UTC | |
by Abigail-II (Bishop) on Aug 13, 2002 at 12:40 UTC | |
by Anonymous Monk on Aug 13, 2002 at 12:42 UTC | |
|
Re: Re: Substituting '--' for Nulls
by johnirl (Monk) on Aug 13, 2002 at 10:26 UTC |