Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Update: D'oh! I wonder why "perldoc -f Fatal" didn't come up with anything :) Yes, that's a joke, but I did add the -f in there when I tried it! How embarrassing that such a useful module is part of the standard distribution and I didn't know that. Sigh... Just focus on the Perl 6 comments, will ya? :)

cLive ;-) wrote:

Browsing through the standard Pel modules, I came across this little number. Considering how much we push strict and warnings, wouldn't it be a good idea to add this module to the list?

It kind of sounds like you're saying that Fatal is part of the standard distribution, but I don't think you meant that. I suppose the reason it's not mentioned more often is because many would likely balk at installing a module to check for something that they do anyway.

I am aware that this has been brought up in relation to Perl 6. Specifically, it sounds like Perl 6 might have a use strict 'system'; pragma which would be equivalent to the following:

use Fatal qw/:void open close/;

The above snippet will throw an exception if you try to open or close a filehandle without explicitly checking the return type. I'd like to see that, but I have no idea whether or not it will actually be implemented.


Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

In reply to (Ovid) Re: use Fatal; by Ovid
in thread use Fatal; by cLive ;-)

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    [LanX]: HA ... fun! =)
    [LanX]: Py2 or 3 ?
    [shmem]: moment... lemme see...
    [shmem]: Python 2.7.9
    [shmem]: but! perl4 doesn't suck.
    [LanX]: better try 3
    [shmem]: that python stuff is none of my business.

    How do I use this? | Other CB clients
    Other Users?
    Others taking refuge in the Monastery: (8)
    As of 2018-03-20 18:33 GMT
    Find Nodes?
      Voting Booth?
      When I think of a mole I think of:

      Results (257 votes). Check out past polls.