Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by Bloodnok (Vicar)
on Dec 27, 2013 at 15:16 UTC ( [id://1068523]=note: print w/replies, xml ) Need Help??


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

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 :-))
  • Comment on Re^2: Difference Between use warnings and use warnings FATAL => 'all'
  • Download Code

Replies are listed 'Best First'.
Re^3: Difference Between use warnings and use warnings FATAL => 'all'
by LanX (Saint) on Dec 27, 2013 at 15:37 UTC
    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://1068523]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-25 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found