develooper Front page | perl.bootstrap | Postings from July 2000

Re: Working Group Proposal

From:
Jonas Liljegren
Date:
July 25, 2000 02:40
Subject:
Re: Working Group Proposal
Message ID:
Pine.LNX.4.21.0007251135580.5080-100000@paranormal.se
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





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