A Continental Perl Adventure Day One 21 of 96 : [PREV] [NEXT]

Globs

Glob notation

*foo

Glob aliasing

*bar = \$foo;

$bar is now an alias for $foo. Note that

*bar = $foo;

is not the same, as this copies the value of $foo into $bar.


© 2003 Barbie barbie@missbarbell.co.uk Home http://birmingham.pm.org/