A new recipe as arrived
Hi all
Trying to make exceptions handling a little more clear, or much more
frightening.
http://sites.google.com/site/oleberperlrecipes/recipes/06-er ror-handling/00---simple-exception
This also starts the 00-.* recipes with the very basic in every area.
Opinions are always welcome in perl-recipes [at] googlegroups.com
Best Regards
Marcos Rebelo
--
Marcos Rebelo
http://oleber.freehostia.com
Milan Perl Mongers leader http://milan.pm.org
Webmaster of http://sites.google.com/site/oleberperlrecipes/
--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Re: A new recipe as arrived
2010/7/25 marcos rebelo <oleber [at] gmail.com>:
> Hi all
>
> Trying to make exceptions handling a little more clear, or much more
> frightening.
>
> http://sites.google.com/site/oleberperlrecipes/recipes/06-er ror-handling/00---simple-exception
>
> This also starts the 00-.* recipes with the very basic in every area.
>
That sounds interesting.
There is already the module for exception on CPAN:
http://search.cpan.org/~pjordan/Exception-1.7/Exception.pm
So what's the difference between them?
Regards.
--
Jeff Pang
http://home.arcor.de/pangj/
--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Re: A new recipe as arrived
On Sun, Jul 25, 2010 at 12:33 AM, Jeff Pang <pangj [at] arcor.de> wrote:
> 2010/7/25 marcos rebelo <oleber [at] gmail.com>:
>> Hi all
>>
>> Trying to make exceptions handling a little more clear, or much more
>> frightening.
>>
>> http://sites.google.com/site/oleberperlrecipes/recipes/06-er ror-handling/00---simple-exception
>>
>> This also starts the 00-.* recipes with the very basic in every area.
>>
>
> That sounds interesting.
> There is already the module for exception on CPAN:
> http://search.cpan.org/~pjordan/Exception-1.7/Exception.pm
> So what's the difference between them?
>
> Regards.
>
> --
> Jeff Pang
> http://home.arcor.de/pangj/
>
Hi Jeff
This is a recipe with the very, very basic of exceptions. And the
normal errors presented in the web, and how to go around them. From
CPAN I named 3 (Try::Tiny, TryCatch and Error) packages, but I say
there are many others. I presented an example of Try::Tiny because it
is the simple one. There is no magic in the code, no Packages, a
beginner can look to the code and understand it, ...
In a future recipe I may speak of exceptions as objects, and in there
I may analyse a little bit more one or another solution.
How to implement them?
How the magic works?
Best Regards
Marcos Rebelo
--
Marcos Rebelo
http://oleber.freehostia.com
Milan Perl Mongers leader http://milan.pm.org
Webmaster of http://sites.google.com/site/oleberperlrecipes/
--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/