This thread reminded me of something I'd posted a while ago:
---snip---
Date: Wed, 26 Nov 2008 14:23:11 +
From: Tim Bunce
To: Richard Hainsworth , perl6-language@perl.org
Subject: Re: Files, Directories, Resources, Operating Systems
On Wed, Nov 26, 2008 at 12:40:41PM +0100, Mark Overmeer w
On Wed, Jun 30, 2010 at 4:29 AM, Richard Hainsworth wrote:
It is normally implied that a program already has a 'local' environment,
> including a 'local' filesystem. Thus the syntax
> my $fn = open('/path/to/directory/filename', :r) or die $!;
> implies a local file sytem.
>
> The idea of an impli
On Wed, Jun 30, 2010 at 10:29 AM, Richard Hainsworth
wrote:
> Would it make sense to define $*FS as the implied local file system, and
> thus that a bare 'open' is sugar for
> my $fh = $*FS.open('/path/to/directory/filename', :r);
>
> This then means that there is an implicit
> $*FS.connect();
> t
Sounds like a sound generalization to make.
On Wed, Jun 30, 2010 at 1:29 AM, Richard Hainsworth
wrote:
> This then means that there is an implicit
> $*FS.connect();
> that makes the local system available to the program.
"mount" is the jargon to make a filesystem available, looking
backwards, t