FAQ

Search Discussions

49 discussions - 311 posts

  • This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Merge C<$! , C<$^E , C<$@ and C<$? =head1 VERSION Maintainer: Peter Scott <peter@psdt.com Date: 25 Aug 2000 Last ...
    Perl6 RFC LibrarianPerl6 RFC Librarian
    Oct 4, 2000 at 6:21 am
    Oct 4, 2000 at 6:21 am
  • This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Exception objects and classes for builtins =head1 VERSION Maintainer: Peter Scott <peter@psdt.com Date: 9 Aug ...
    Perl6 RFC LibrarianPerl6 RFC Librarian
    Oct 4, 2000 at 6:20 am
    Oct 4, 2000 at 3:17 pm
  • This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE A Base Class for Exception Objects =head1 VERSION Maintainer: Tony Olekshy <olekshy@avrasoft.com Date: 12 Aug ...
    Perl6 RFC LibrarianPerl6 RFC Librarian
    Oct 2, 2000 at 12:32 am
    Oct 2, 2000 at 12:32 am
  • This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Omnibus Structured Exception/Error Handling Mechanism =head1 VERSION Maintainer: Tony Olekshy ...
    Perl6 RFC LibrarianPerl6 RFC Librarian
    Oct 2, 2000 at 12:30 am
    Oct 2, 2000 at 12:30 am
  • This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Improvement needed in error messages (both internal errors and die function). =head1 VERSION Maintainer: S. A. ...
    Perl6 RFC LibrarianPerl6 RFC Librarian
    Oct 1, 2000 at 6:36 am
    Oct 1, 2000 at 1:42 pm
  • This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Improvement needed in error messages (both internal errors and die function). =head1 VERSION Maintainer: S. A. ...
    Perl6 RFC LibrarianPerl6 RFC Librarian
    Oct 1, 2000 at 6:36 am
    Oct 1, 2000 at 6:36 am
  • This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Object neutral error handling via exceptions =head1 VERSION Maintainer: Glenn Linderman <glenn@linderman.com ...
    Perl6 RFC LibrarianPerl6 RFC Librarian
    Sep 29, 2000 at 3:21 am
    Sep 29, 2000 at 3:21 am
  • This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Object neutral error handling via exceptions =head1 VERSION Maintainer: Glenn Linderman <glenn@linderman.com ...
    Perl6 RFC LibrarianPerl6 RFC Librarian
    Sep 15, 2000 at 5:54 am
    Sep 15, 2000 at 5:54 am
  • This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Exception objects and classes for builtins =head1 VERSION Maintainer: Peter Scott <peter@psdt.com Date: 9 Aug ...
    Perl6 RFC LibrarianPerl6 RFC Librarian
    Sep 14, 2000 at 7:41 pm
    Sep 14, 2000 at 7:41 pm
  • ... This ability to jump to "the right place" is exactly what exception handling is for, as I understand it. Exceptions allow us to have one kind of block and any number of kinds of exit mechanisms. ...
    David L. NicolDavid L. Nicol
    Sep 14, 2000 at 5:56 pm
    Sep 14, 2000 at 6:06 pm
  • This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Merge C<$! , C<$^E , C<$@ and C<$? =head1 VERSION Maintainer: Peter Scott <Peter@PSDT.com Date: 25 Aug 2000 Last ...
    Perl6 RFC LibrarianPerl6 RFC Librarian
    Sep 13, 2000 at 11:35 pm
    Sep 13, 2000 at 11:35 pm
  • This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Merge C<$! , C<$^E , C<$@ and C<$? =head1 VERSION Maintainer: Peter Scott <Peter@PSDT.com Date: 25 Aug 2000 ...
    Perl6 RFC LibrarianPerl6 RFC Librarian
    Sep 6, 2000 at 6:25 pm
    Sep 8, 2000 at 12:29 am
  • I have been working on the Perl 5 reference implementation of RFC 88 functionality (Try.pm, which is currently available at: http://www.avrasoft.com/perl6/try6-ref5.txt ), and I stumbled across the ...
    Tony OlekshyTony Olekshy
    Aug 28, 2000 at 10:02 am
    Aug 28, 2000 at 10:02 am
  • I have added the remaining changes based on the traffic in -errors and the batch of changes I received from Peter Scott. Production formatting has been completed. RFC 88v3d1 is available at: ...
    Tony OlekshyTony Olekshy
    Aug 27, 2000 at 1:19 pm
    Aug 27, 2000 at 1:19 pm
  • This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Omnibus Structured Exception/Error Handling Mechanism =head1 VERSION Maintainer: Tony Olekshy ...
    Perl6 RFC LibrarianPerl6 RFC Librarian
    Aug 24, 2000 at 3:37 pm
    Aug 24, 2000 at 7:44 pm
  • This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Exception handling syntax =head1 VERSION Maintainer: Peter Scott <peter@psdt.com Date: 8 Aug 2000 Last-Modified: ...
    Perl6 RFC LibrarianPerl6 RFC Librarian
    Aug 24, 2000 at 3:35 pm
    Aug 24, 2000 at 4:35 pm
  • To clarify, 88 is trying to say that it explicitly doesn't think it's a good idea to mix up the concept of exception handling with the concept of continuations, the latter of which is properly the ...
    Tony OlekshyTony Olekshy
    Aug 24, 2000 at 6:52 am
    Aug 24, 2000 at 6:18 pm
  • I've sent this version to the RFC librarian, but it hasn't shown up yet. Until it does, it's available at: Formatted: http://www.avrasoft.com/perl/rfc/rfc88v2.htm POD as text: ...
    Tony OlekshyTony Olekshy
    Aug 24, 2000 at 5:21 am
    Aug 24, 2000 at 5:21 am
  • Other than for the except and always clauses, RFC 199 is very similar to RFC 88. I like the idea behind except and always, but I think the proposed implementation could be dramatically simplified. ...
    Tony OlekshyTony Olekshy
    Aug 24, 2000 at 4:10 am
    Aug 24, 2000 at 6:19 pm
  • Some discussion has suggested that it might be a good idea if it were possible to have a simple way to prevent catch from catching so-called "fatal" errors. Some fringe ideas have actually included ...
    Tony OlekshyTony Olekshy
    Aug 24, 2000 at 4:08 am
    Aug 24, 2000 at 8:23 pm
  • To use a $20 OO word, polymorphism. But this applies even if $@ isn't an instance of an OO class, as explained herein. If die/throw can put any data they want in $@, then before a exception can be ...
    Tony OlekshyTony Olekshy
    Aug 24, 2000 at 4:07 am
    Aug 24, 2000 at 6:18 pm
  • This just popped into my head after reading Jarko's RFC. I had some DBI heavy code which was making use of RaiseError. So like a good programmer I'd wrapped all my DBI code in eval blocks. However, ...
    Michael G SchwernMichael G Schwern
    Aug 23, 2000 at 11:29 pm
    Aug 23, 2000 at 11:29 pm
  • Not quite true. You can't get exactly the same list, but you can get exactly the same list plus some more ;-) try { throw Exception "Can't foo.", params = \@params; } catch { print "Params: ", ...
    Tony OlekshyTony Olekshy
    Aug 23, 2000 at 3:48 pm
    Aug 24, 2000 at 6:18 pm
  • I think this would be spot on for Perl 5, but it doesn't sit well with the other stuff we've been talking about so far for Perl 6. Of course, all of our stuff could be rejected as bloated castles in ...
    Peter ScottPeter Scott
    Aug 23, 2000 at 6:09 am
    Aug 24, 2000 at 11:43 pm
  • This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE object neutral error handling via exceptions =head1 VERSION Maintainer: Glenn Linderman <glenn@linderman.com ...
    Perl6 RFC LibrarianPerl6 RFC Librarian
    Aug 23, 2000 at 4:27 am
    Aug 23, 2000 at 4:27 am
  • I have modified RFC 88 so that the following =head1 DESCRIPTION throw Exception::IO "a message", tag = "ABC.1234", ... ; now reads like this: =head1 DESCRIPTION The most common forms of structured ...
    Tony OlekshyTony Olekshy
    Aug 23, 2000 at 1:14 am
    Aug 23, 2000 at 1:14 am
  • # # -----Original Message----- # # From: Tony Olekshy # # Sent: Tuesday, August 22, 2000 4:01 PM # # To: perl6-language-errors@perl.org # # Subject: Re: Exception stack: let's use the @@ list. # # ...
    Brust, CorwinBrust, Corwin
    Aug 22, 2000 at 10:59 pm
    Aug 24, 2000 at 4:16 am
  • Executive Summary: We should go to a pure return-based mechanism for error signalling, or a pure exception-based one. We can't do the former. Therefore we should do the latter. Author's Note: I'm a ...
    Tony OlekshyTony Olekshy
    Aug 22, 2000 at 3:13 am
    Aug 29, 2000 at 2:34 am
  • This version will be published after Peter Scott gets a chance to review the last days' changes (he's co-author now), and I make any adjustments necessitated by your reviews, dear reader ;-) ...
    Tony OlekshyTony Olekshy
    Aug 20, 2000 at 11:22 pm
    Aug 22, 2000 at 5:47 am
  • Non-shared: my ($p, $q); try { $p = P- new; $q = Q- new; ... } finally { $p and $p- Done; } finally { $q and $q- Done; } Shared: try { my $p = P- new; my $q = Q- new; ... } finally { $p and $p- Done; ...
    Tony OlekshyTony Olekshy
    Aug 20, 2000 at 6:45 pm
    Aug 23, 2000 at 2:49 am
  • =head1 TITLE Structured Exception/Error Handling Mechanism =head1 VERSION Maintainer: Tony Olekshy <olekshy@avrasoft.com Date: 19 Aug 2000 Version: 2 (Draft 3) Mailing List: ...
    Tony OlekshyTony Olekshy
    Aug 19, 2000 at 12:08 pm
    Aug 23, 2000 at 10:56 pm
  • As currently promulgated, catch "Foo" {} will always catch, because "Foo" is true. Will this cause confusion for developers who meant to say catch Foo {}? And what happens when someone says catch ...
    Tony OlekshyTony Olekshy
    Aug 19, 2000 at 5:05 am
    Dec 17, 2004 at 12:39 pm
  • RFC 88 is discussing making errors into exceptions. I strongly don't think we should attempt the converse, that is, making exceptions into errors. "An exception is not necessarily an error.\n" x 3; ...
    Tony OlekshyTony Olekshy
    Aug 19, 2000 at 2:02 am
    Aug 20, 2000 at 12:53 am
  • I am willing to withdraw RFC 63 if the following parts are included somewhere in RFC 88 in this or equivalent language: "Note that C<try is a keyword, not a function. This is solely so that a C<; is ...
    Peter ScottPeter Scott
    Aug 18, 2000 at 7:28 pm
    Aug 19, 2000 at 4:45 am
  • Hmm this gets me thinking: <snip -----Original Message----- From: Tony Olekshy Or, with try/catch... sub openrecord { for (my $attempt = 0; $attempt < 5; ++$attempt) { my $fileName = ...
    Brust, CorwinBrust, Corwin
    Aug 18, 2000 at 3:25 pm
    Aug 22, 2000 at 9:02 pm
  • =head1 TITLE Structured Exception Handling Mechanism =head1 VERSION Maintainer: Tony Olekshy <olekshy@avrasoft.com Date: 18 Aug 2000 Version: 2 (Draft 2) Mailing List: perl6-language-errors@perl.org ...
    Tony OlekshyTony Olekshy
    Aug 18, 2000 at 12:06 pm
    Aug 21, 2000 at 3:43 pm
  • Peter Scott writes: : Do we want to come up with any modifications to the scope of $! (I'm not : talking about the dual string-number nature)? I've occasionally been : flummoxed by looking at it when ...
    Larry WallLarry Wall
    Aug 17, 2000 at 5:13 pm
    Aug 17, 2000 at 11:25 pm
  • =head1 TITLE Structured Exception Handling Mechanism =head1 VERSION Maintainer: Tony Olekshy <olekshy@avrasoft.com Date: 17 Aug 2000 Version: 2 (Draft 1) Mailing List: perl6-language-flow@perl.org ...
    Tony OlekshyTony Olekshy
    Aug 17, 2000 at 12:11 pm
    Aug 19, 2000 at 5:42 am
  • or AUTOLOAD can be defined in terms of C<catch and overloaded that way, rather than being its own kind of magic. catch "AUTOLOAD-$classname-$polymorphicsignature" {... Jonathan Scott Duff wrote: -- ...
    David L. NicolDavid L. Nicol
    Aug 16, 2000 at 9:50 pm
    Aug 18, 2000 at 2:00 am
  • =head2 eval/die remains perfectly workable Perl5 has a perfectly agile exception handling method, C<eval BLOCK , which syntax-checks at compile time and returns the value of the value of the last ...
    David L. NicolDavid L. Nicol
    Aug 16, 2000 at 9:47 pm
    Aug 18, 2000 at 1:53 am
  • This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE object neutral error handling via exceptions =head1 VERSION Maintainer: Glenn Linderman <glenn@linderman.com ...
    Perl6 RFC LibrarianPerl6 RFC Librarian
    Aug 16, 2000 at 8:23 pm
    Aug 16, 2000 at 8:43 pm
  • My philosophy - do nothing unless its needed. Therefore there are no rules, and I'll attempt to avoid creating any. I remain subscribed to language-flow, and will redirect appropriate discussion to ...
    Steve SimmonsSteve Simmons
    Aug 16, 2000 at 2:33 pm
    Aug 16, 2000 at 2:33 pm
  • Please consider RFC 92, Extensible Meta-Object Protocol. Also, the stuff going on in perl6-language-errors assumes a core Exception class, for use by "use Fatal (:all)" or whatever. Since this is, I ...
    Tony OlekshyTony Olekshy
    Aug 16, 2000 at 7:17 am
    Aug 16, 2000 at 7:17 am
  • The proposed omnibus Exceptions RFC uses the following three rules to guide it while unwinding through the clauses of a try statement. Rule 1: Uncaught Exceptions Propagate At the end of the try ...
    Tony OlekshyTony Olekshy
    Aug 16, 2000 at 7:17 am
    Aug 18, 2000 at 5:08 am
  • I have moved this to perl6-language-errors@perl.org. Jonathan Scott Duff wrote: Problem 1: In a large lexical scope, you have no preindication that intended non-local flow control is in effect until ...
    Tony OlekshyTony Olekshy
    Aug 16, 2000 at 6:01 am
    Aug 17, 2000 at 3:04 am
  • Fail is no good, because exceptions can be used to indicate success. Just because you don't isn't a counter-argument. Exceptions are *not* the same as errors, that's just one semantic mapping. ...
    Tony OlekshyTony Olekshy
    Aug 16, 2000 at 5:56 am
    Aug 16, 2000 at 9:13 pm
  • Hmm. I guess I would do that either with throw Exception(message = "Can't open $file"); or die "Can't open $file" which RFC 63 says (under IMPLEMENTATION) should be the same thing. You're actually ...
    Peter ScottPeter Scott
    Aug 16, 2000 at 12:16 am
    Aug 18, 2000 at 1:47 am
  • This is definitely a nifty concept that strikes me as very Perlish. At least to begin with. Well, for one, it makes it easier to see that a block is subject to exception handling if all you have to ...
    Peter ScottPeter Scott
    Aug 15, 2000 at 11:16 pm
    Aug 17, 2000 at 3:14 am
  • How is this different from perl6-language-flow? -- Peter Scott Pacific Systems Design Technologies
    Peter ScottPeter Scott
    Aug 15, 2000 at 11:01 pm
    Aug 15, 2000 at 11:01 pm
Group Navigation
period‹ prev | Latest | first ›
Group Overview
groupperl6-language-errors @
categoriesperl
discussions49
posts311
users27
websiteperl6.org

Top users

Tony Olekshy: 88 posts Peter Scott: 77 posts Chaim Frenkel: 27 posts Glenn Linderman: 23 posts Perl6 RFC Librarian: 15 posts Jonathan Scott Duff: 12 posts Brust, Corwin: 9 posts David L. Nicol: 7 posts Graham Barr: 7 posts Tony Olekshy: 6 posts Dave Rolsky: 5 posts Jarkko Hietaniemi: 4 posts Tom Christiansen: 4 posts John Porter: 4 posts Markus Peter: 4 posts Markus Peter: 3 posts David Grove: 2 posts Bennett Todd: 2 posts Bart Lateur: 2 posts Ilya Martynov: 2 posts
show more