[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] print hash question: why *



In Chris Nandor's on-line book on MacPerl packages (315.MP_Pkg.B.971220.pdf) (http://www.ptf.com/macperl/), there's this line:

 foreach (keys(%MacPerl::)) {print "$_ => $MacPerl::{$_}\n"}

Which prints the following:

CallXL => *MacPerl::CallXL
Answer => *MacPerl::Answer
Choose => *MacPerl::Choose
MakeFSSpec => *MacPerl::MakeFSSpec
Quit => *MacPerl::Quit
LoadExternals => *MacPerl::LoadExternals
Version => *MacPerl::Version
Pick => *MacPerl::Pick
FAccess => *MacPerl::FAccess
SetFileInfo => *MacPerl::SetFileInfo
DoAppleScript => *MacPerl::DoAppleScript
Volumes => *MacPerl::Volumes
MakePath => *MacPerl::MakePath
Reply => *MacPerl::Reply
GetFileInfo => *MacPerl::GetFileInfo
bootstrap => *MacPerl::bootstrap
Ask => *MacPerl::Ask

Where does the '*' came up? (probably a stupid question)

 Xah, xah@best.com
 http://www.best.com/~xah/MathGraphicsGallery_dir/mathGraphicsGallery.html
 Mountain View, CA, USA



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch