hanspr has asked for the wisdom of the Perl Monks concerning the following question:
Im revising a code written in perl and I'm finding the use of "//" in different ways: tests, shift, others.
return 1 unless ($flag // 0) return 1 unless ($flag // 1) if $HAS_FOCUS // '' $socket = shift // $SOCKET_CLIENT;
I have searched and I do not find what does "//" means. In what section of the documentations is this explained
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Meaning of //
by huck (Prior) on Oct 17, 2019 at 17:10 UTC | |
by hanspr (Sexton) on Oct 17, 2019 at 17:14 UTC | |
|
Re: Meaning of //
by Discipulus (Canon) on Oct 17, 2019 at 18:19 UTC | |
|
Re: Meaning of //
by stevieb (Canon) on Oct 17, 2019 at 20:31 UTC | |
by AnomalousMonk (Archbishop) on Oct 17, 2019 at 21:30 UTC | |
|
Re: Meaning of //
by ikegami (Patriarch) on Oct 19, 2019 at 13:40 UTC | |
|
Re: Meaning of //
by rsFalse (Chaplain) on Oct 20, 2019 at 11:33 UTC | |
|
Re: Meaning of //
by LanX (Saint) on Oct 17, 2019 at 19:43 UTC | |
by pryrt (Abbot) on Oct 17, 2019 at 19:54 UTC | |
by LanX (Saint) on Oct 17, 2019 at 23:28 UTC | |
|
Re: Meaning of //
by hanspr (Sexton) on Nov 28, 2019 at 15:53 UTC |