Hi Hippo
Here is one of the links that talks about exceptions not being part of Perl. My bad again, I got mixed up with errors and exceptions, and if you berate me for that I would totally understand- https://www.oreilly.com/library/view/mastering-perl/9780596527242/ch12.html
Given below is paragraph from the chapter -
Exceptions
Perl doesn’t have exceptions. Let’s just get that clear right now. Lik
+e some other things Perl doesn’t really have, people have figured out
+ how to fake them. If you’re used to languages, such as Java or Pytho
+n, set the bar much lower so you aren’t too disappointed. In those ot
+her languages, exceptions are part of the fundamental design, and tha
+t’s how I’m supposed to deal with all errors. Exceptions aren’t part
+of Perl’s design, and it’s not how Perl programmers tend to deal with
+ errors.
Unfortunately I could not find other links. I was just going from one article to another and that is how I stumbled across the said articles.
Note:- I am not hear to badmouth about Perl. Just really badly wanting to get some clarity (which the ensuing answers have provided in truckloads).
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|