Q&A

1:In the File::Find module, what are the colons (::) in the variable names? Like $File::Find::dir?
A1: Perl modules can create alternate areas for variable names, called namespaces, so that the module's global variable names and your global variable names don't get mixed up. So a global variable in the Cwd module would be known as $Cwd::x. Most of your global variables actually have the full name of $main::x for $x. But for now, that's not important.
2:I have a Windows 95/98/NT machine, and the module I want to use is not available through Activestate's PPM. How can I install it?
A2: Unfortunately, most of CPAN's modules assume you have a full UNIX-like development environment to compile and install modules; this kind of environment is not ...

Get Sams Teach Yourself Perl in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.