Re: MacPerl Script on OS X

[email protected] (Eberhard Lisse)
Newsgroups perl.macosx
Organization Dr Eberhard W Lisse
Message-ID <[email protected]>
Actually,

if g5hd is a mounted (external) hard drive than the /Volumes/gh5d
is required. If it's the root, than it's not.

el

on 8/23/08 5:33 PM Doug McNutt said the following:
> At 08:43 +0100 8/23/08, Eberhard Lisse wrote:
[...]
> open (TRANS, "</Volumes/g5hd/newScansImages/trans")
>      or die "Error can't open $!\n";
> 
> Be really careful about that /Volumes/ directory.  Apple uses it as
> a mount point for external and secondary disks and not for the
> "root" disk which can't have a name other than "/" in the world of
> UNIX.
> 
> g5hd sounds a lot like a user inserted name for a main disk.  The
> proper form in the UNIX - perl5 world would be more like
> 
> /newScansImages/trans
> 
> where the leading solidus is the root directory for the operating
> system.
[...]

But then the line ends didn't have any thing to do with it...

el

-- 
If you want to email me, replace nospam with el
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.