in reply to Meaning of //
Something or 1 is always true, so this
return 1 unless ($flag // 1)
will never happen.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Meaning of //
by pryrt (Abbot) on Oct 17, 2019 at 19:54 UTC | |
by LanX (Saint) on Oct 17, 2019 at 23:28 UTC |