Bennett Todd wrote: > > (Migrated from bootstrap) > > 2000-07-24-10:17:54 Dan Sugalski: > > Perl 6 will most *definitely* be an embedded perl. Easy and clean > > embedding is one of my primary goals. A small core with extended > > functionality provided by non-core things is a secondary one. (And > > one very much dependent on the updated language design in many > > ways). > > Cool! I've got only one gripe with perl as it stands now, and that's > mostly at higher layers: it's not practical to make something like > "use Fatal" that really works, so I can stop typing " or die ..." > all the time. Probably has little to do with the proposed new core > architecture, but evicting stuff from the core and keeping it > outside in modules will likely make it possible to address this as > a happy side-effect --- AFAIK the barriers to doing this right now > are mostly associated with eccentric weirdness in the way the most > often-used syscalls (esp. write(2)) are accessed by most > programmers. The whole irregularity of the I/O system. One thing I could imagine is that all the built-in functions could throw exceptions instead of returning an error code. If you can turn this on/off on a properly scoped basis, rather like the DBI module with its RaiseError option, people can program both the Java way and the existing way. Hildo