Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Critique requested for module code - QuickMemo+ reader

by Lotus1 (Vicar)
on Jan 24, 2021 at 18:11 UTC ( #11127383=note: print w/replies, xml ) Need Help??


in reply to Re: Critique requested for module code - QuickMemo+ reader
in thread Critique requested for module code - QuickMemo+ reader

Thanks for the suggestions. I'll add an update with my tests!

Update: I'll look into using carp. Archive::Zip gave me a lot of those kinds of warnings. You are right that I wanted to see where the errors were in my code not in Archive::Zip. Thanks again!

  • Comment on Re^2: Critique requested for module code - QuickMemo+ reader

Replies are listed 'Best First'.
Re^3: Critique requested for module code - QuickMemo+ reader
by Discipulus (Abbot) on Jan 24, 2021 at 21:59 UTC
    Hello Lotus1,

    > I wanted to see where the errors were in my code not in Archive::Zip

    No is not what I intended to mean. With Carp the user of your module sees the error from his perspective, like: Ouch file does not exists at consumer_script.pl line 42 and this is generally more useful.

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2021-10-25 20:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (90 votes). Check out past polls.

    Notices?