develooper Front page | perl.perl6.language | Postings from July 2005

Re: User-defined infix subs/methods?

Thread Previous | Thread Next
From:
Autrijus Tang
Date:
July 12, 2005 02:29
Subject:
Re: User-defined infix subs/methods?
Message ID:
20050712092748.GA89060@aut.dyndns.org
On Sat, Jul 09, 2005 at 03:58:45PM -0700, Larry Wall wrote:
> It should take a little more effort to mess with the minds of
> unsuspecting modules, so maybe the standard syntax is cloned out of
> *STANDARD_PERL_6 or some such scary package name.  It's the default for
> starting all require-like Perl 6 parses.

Note that this requirement is already satisfied, under the "separate
compilation doctrine" in the hackathon notes.

Each compilation unit needs to be compiled without any information to
the symbols in the caller environment.  It may export symbols, but may
not silently make use of caller's symbols, which naturally includes
user-defined operators.

Thanks,
/Autrijus/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About