in reply to use of typeglob aliases

Not quite like that, and not for such simple uses as these, but but I often use typeglob aliasing to avoid complex dereferencing within subroutines:

#! perl -slw use strict; sub processBigArray { our @alias; local *alias = shift; $_ += 1 for @alias; return; } my @a = 1 .. 1e6; processBigArray( \@a ); print for @a[ 0 .. 9 ]; __END__ C:\test>junk38 2 3 4 5 6 7 8 9 10 11

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: use of typeglob aliases
by Anonymous Monk on Sep 05, 2013 at 16:25 UTC
    Chapter 3, p 44