Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by Lotus1 (Vicar)
on Jan 24, 2021 at 18:11 UTC ( [id://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 (Canon) 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?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-24 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found