Tuesday, July 7, 2009

Using double colons in using Perl modules

What's up with all the double colons (::)?

The :: corresponds to a filesystem path separator.

A Module called Shape::Rect corresponds to a file named Shape/Rect.pm relative to a module library directory.

No comments:

Post a Comment