Re: Working Group Proposal

[email protected] (Jonas Liljegren)
Newsgroups perl.bootstrap
Message-ID <[email protected]>
On Mon, 24 Jul 2000, Derek J. Balling wrote:

> I'll just say that "I disagree". I don't think you should EVER have 
> to recompile your perl binary to get something a program author 
> thought would be available in THEIR perl binary.
> 
> A perl program should work "anywhere" unless the end-user has 
> explicitly removed functionality from his/her perl-binary.


You could declare the set of functions used. The :BASE would be default,
but there could be other standard configurations. For a special
configuration, the configuration file for that would have to be
distributed with the program.

use 6.0 qw( :BASE );

use 6.0 qw( :SMALL );


And there would be no problem with this if the program is packaged and
turned to an executable.




> At 6:30 PM -0700 7/24/00, horos wrote:
> >
> >Ok, but you also need the ability to *add* functionality as well:
> >
> >configure --add-functionality
> >*** WARNING: If functionality is added to this binary, some
> >existing Perl6 Applications may not function properly or at all with
> >this binary. This optionis recommended only for experts who have a
> >very good grasp of what they are doing. Are you sure you wish to
> >proceed? [Y]
> >
> >add which runtime modules [ strict warn ] Carp (qw(cluck));
> >
> >which would then do an implicit 'use strict;' 'use warn', and 'use Carp'
> >at the beginning of each package.
> >
> >and perhaps the ability to totally customize your functionality:
> >
> >configure --use-configuration perl5compatability
> >
> >And, building on an idea that Joshua had
> >
> >gen_perl perl5compatability ./perl5.tar.gz
> >
> >where gen_perl is in microperl, takes the perl5compatability file, downloads
> >all the necessary stuff for making perl6 compatibile with perl5, deletes all
> >the cruft, and creates perl5.tar.gz
> >
> >Ed
> 
> 

-- 
/ Jonas  -  http://jonas.liljegren.org/myself/en/index.html
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.