Alphaphi has asked for the wisdom of the Perl Monks concerning the following question:
do { push my @array, qw/x y z/ if $cond; push @array, qw/a b c/; ...some more things with @array... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Variable scope
by ikegami (Patriarch) on Apr 03, 2018 at 14:17 UTC | |
by Anonymous Monk on Apr 03, 2018 at 15:54 UTC | |
|
Re: Variable scope
by shmem (Chancellor) on Apr 05, 2018 at 11:48 UTC | |
by choroba (Cardinal) on Apr 05, 2018 at 12:12 UTC | |
by shmem (Chancellor) on Apr 05, 2018 at 12:28 UTC | |
by Anonymous Monk on Apr 06, 2018 at 09:19 UTC | |
by Anonymous Monk on Apr 06, 2018 at 09:36 UTC | |
by choroba (Cardinal) on Apr 06, 2018 at 09:42 UTC | |
by Anonymous Monk on Apr 06, 2018 at 10:33 UTC | |
| |
by Anonymous Monk on May 15, 2018 at 17:11 UTC | |
by choroba (Cardinal) on May 15, 2018 at 17:51 UTC | |
|
Re: Variable scope
by Anonymous Monk on Apr 03, 2018 at 13:24 UTC | |
by Alphaphi (Acolyte) on Apr 03, 2018 at 14:01 UTC | |
|
Re: Variable scope
by karlgoethebier (Abbot) on Apr 05, 2018 at 10:29 UTC |