O'Reilly logo

Win32 Perl Programming: The Standard Extensions, Second Edition by Dave Roth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

General Win32-Specific Mistakes

One of the most obvious differences between the UNIX and Win32 platforms is file paths. Any UNIX user can tell you that there is only one root with many subdirectories. All hard drives, network shares, floppy drives, and any other external media storage devices are mounted as subdirectories under the root. Because Perl was originally designed to work under the UNIX platform, this is what Perl expects.

The Win32 world, however, uses drive letters to designate a storage device. This, of course, limits the number of possible drives to 26 (A: through Z:). This does not include network shares that are not mapped to a drive letter.

Another difference between the two platforms is that UNIX uses a forward slash (/) to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required