in reply to Re^2: Why is Dumper returning "!!1" for true file test?
in thread Why is Dumper returning "!!1" for true file test?
I hadn't heard about the new booleans.
They're not new. They've existed for a very long time. At least since Perl 5.6 in 2000, but probably long before that. What was missing were functions whose sole purpose was to return them. That's what was recently introduced. And that's why we used !!0 and !!1 to produce them before that.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Why is Dumper returning "!!1" for true file test?
by Haarg (Priest) on Jan 22, 2024 at 15:14 UTC | |
by ikegami (Patriarch) on Jan 22, 2024 at 16:10 UTC | |
Re^4: Why is Dumper returning "!!1" for true file test?
by LanX (Saint) on Jan 22, 2024 at 09:31 UTC | |
by ikegami (Patriarch) on Jan 22, 2024 at 14:21 UTC |