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
In reply to Re: Meaning of //
by LanX
in thread Meaning of //
by hanspr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |