At 05:44 PM 8/10/00 +0100, Graham Barr wrote:
>In fact the syntax could be
>
>   eval {
>   }
>   continue {
>   }
>
>   switch ($@) {
>   } if $@;
>
>I just don't see the need to make perl look like other languages just for
>the sake of makeing it look like other languages.

No, I wasn't thinking that at all.  Although devil's advocate compels me to 
point out that Perl has often included features from other languages for 
the sake of familiarity, and even (according to documentation) on occasions 
when it considered said features broken (example: C operator precedence).

But one could argue at this point that Perl's gravitational pull is now 
sufficient for it to borrow from itself rather than other languages, as you 
have done above.  I just found the try/throw/catch syntax really appealing, 
and it was a bonus that it would be instantly familiar to the C++/Java crowd.

--
Peter Scott
Pacific Systems Design Technologies

Reply via email to