in reply to Stumped by regex
Considering that $cc comes from %Config, it could technically contain anything. For instance, it may contain "/foo/bar/:[baz]". Now, while the latter is valid in most Unix file systems, it's highly unlikely to find a C compiler in such a path. Unlike VMS. A full path in VMS consists of a device name, a directory, a file name (including extension), and a version number. The device name and the directory are separated by a colon, while the directory itself is enclosed in square brackets. Which explains not only that $cc may match this, but also why this specific match was choosen.
Re^2: Stumped by regex
by syphilis (Archbishop) on Nov 10, 2008 at 21:25 UTC
|
Thanks guys. Let's hope I don't ever have to get involved with VMS porting issues :-)
Cheers, Rob | [reply] |
|
VMS is actively supported by people on the p5p list. They might be willing to help you if you have a VMS concern.
| [reply] |
|
| [reply] [d/l] |
|