fionbarr has asked for the wisdom of the Perl Monks concerning the following question:
@array = (10,20); Double(*array); sub Double { local *copy = shift; foreach my $element (@copy) { $element *=2; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use of typeglob aliases
by BrowserUk (Patriarch) on Sep 05, 2013 at 16:23 UTC | |
by Anonymous Monk on Sep 05, 2013 at 16:25 UTC | |
|
Re: use of typeglob aliases
by Athanasius (Archbishop) on Sep 05, 2013 at 16:33 UTC | |
by AnomalousMonk (Archbishop) on Sep 05, 2013 at 19:32 UTC | |
|
Re: use of typeglob aliases
by davido (Cardinal) on Sep 05, 2013 at 16:21 UTC | |
by Anonymous Monk on Sep 05, 2013 at 16:22 UTC | |
by davido (Cardinal) on Sep 05, 2013 at 16:53 UTC | |
|
Re: use of typeglob aliases
by digital_carver (Sexton) on Sep 05, 2013 at 16:23 UTC | |
|
Re: use of typeglob aliases
by kcott (Archbishop) on Sep 06, 2013 at 07:23 UTC |