BrowserUk has asked for the wisdom of the Perl Monks concerning the following question:
Does the Python syntax a = [0] * n; mean the same as Perl: @a = (0) x $n;?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: [OT] Python to Perl.
by davido (Cardinal) on Jun 15, 2018 at 15:06 UTC | |
by BrowserUk (Patriarch) on Jun 15, 2018 at 15:37 UTC | |
|
Re: [OT] Python to Perl.
by Eily (Monsignor) on Jun 15, 2018 at 15:40 UTC | |
by BrowserUk (Patriarch) on Jun 15, 2018 at 16:12 UTC | |
|
Re: [OT] Python to Perl.
by Marshall (Canon) on Jun 15, 2018 at 16:07 UTC | |
by BrowserUk (Patriarch) on Jun 15, 2018 at 16:10 UTC | |
by davido (Cardinal) on Jun 15, 2018 at 17:02 UTC | |
by BrowserUk (Patriarch) on Jun 15, 2018 at 18:47 UTC | |
by AnomalousMonk (Archbishop) on Jun 15, 2018 at 18:01 UTC | |
by LanX (Saint) on Jun 16, 2018 at 23:15 UTC |