June 2005
Beginner
480 pages
10h 31m
English
| Q1: | 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. |
| Q2: | 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 that you have a full Unix-like development environment to compile and install modules; this kind of environment ... |
Read now
Unlock full access