in reply to "Safe" print?
If you want undefined values printed as "undef", try
use 5.010; print $somevalue // "undef";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: "Safe" print?
by locked_user sundialsvc4 (Abbot) on May 14, 2013 at 13:45 UTC | |
by ambrus (Abbot) on May 14, 2013 at 14:41 UTC | |
by dd-b (Pilgrim) on May 14, 2013 at 19:17 UTC | |
by ambrus (Abbot) on May 14, 2013 at 21:13 UTC | |
by LanX (Saint) on May 14, 2013 at 15:20 UTC |