Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Difference Between use warnings and use warnings FATAL => 'all'

by LanX (Sage)
on Dec 27, 2013 at 07:11 UTC ( #1068480=note: print w/replies, xml ) Need Help??


in reply to Difference Between use warnings and use warnings FATAL => 'all'

In simple terms: "fatal all" means all errors warning-events die!

The other questions have been answered.

Cheers Rolf

( addicted to the Perl Programming Language)

) see following discussion

  • Comment on Re: Difference Between use warnings and use warnings FATAL => 'all'

Replies are listed 'Best First'.
Re^2: Difference Between use warnings and use warnings FATAL => 'all'
by Bloodnok (Vicar) on Dec 27, 2013 at 15:16 UTC
    At the risk of being a little pedantic LanX, your assertion isn't quite correct in this context - fatal => all actually means that all warnings (c/w errors as you claim) result in a script die'ing.

    A user level that continues to overstate my experience :-))
      Well I was aware of that, but since I identified only two categories of error-exceptions (signals), "dieing" and "warning", I was sure that my assertion was right. (all of them die after fatal-all)

      Now at second thought I remember all these special variables (e.g. $!, $@, $^E, $? ...) holding silent external error messages needed to be actively read and processed.

      (like in open ... or die "Terminating because $!";)

      Here you are of course right, those "errors" do not die.

      Corrected, thanks. :)

      Cheers Rolf

      ( addicted to the Perl Programming Language)

        My pleasure, it's good to talk :-)

        A user level that continues to overstate my experience :-))

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1068480]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2022-01-22 17:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (63 votes). Check out past polls.

    Notices?