Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Exception::Class - how to use?

by rvosa (Curate)
on Aug 25, 2005 at 10:54 UTC ( #486504=note: print w/replies, xml ) Need Help??


in reply to Re: Exception::Class - how to use?
in thread Exception::Class - how to use?

Thank you both for your clarifications - that's very helpful. I think I am just going to have to think hard in each situation whether I want to catch exceptions myself or leave it to the user. I suppose it depends, in some cases I might be able to do something gracefully, but in other cases the user is going to have to be told forcefully that their input isn't sane. I don't suppose there's a hard and fast rule for that, is there?

Replies are listed 'Best First'.
Re^3: Exception::Class - how to use?
by tlm (Prior) on Aug 26, 2005 at 00:20 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://486504]
help
Chatterbox?
[Lady_Aleena]: shmem, that is understandable! The two examples in File::Find don't make sense to me on a quick glance.
[marioroy]: LA if the find worked from Unix command line, or does it not. Likely a quoting issue inside Perl qx.
[Lady_Aleena]: marioroy, the find worked fine at the command line.
[marioroy]: LA, yeah. than there's no reason why it cannot work inside qx. But chatting is hard in PM. I cannot see the code now.
[shmem]: Lady_Aleena: sometimes a quick glance isn't enough.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2017-04-23 20:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.