hegotf has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks
Can anyone explain what does that do? @{$doc->{links} // []}
I don't understand the // [] part.
here is the link to entire code: https://gist.github.com/creaktive/4607326
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: operation inside reference
by AnomalousMonk (Archbishop) on May 18, 2013 at 13:45 UTC | |
|
Re: operation inside reference
by LanX (Saint) on May 18, 2013 at 14:21 UTC | |
|
Re: operation inside reference
by hegotf (Novice) on May 18, 2013 at 14:49 UTC |