http://qs321.pair.com?node_id=11127383


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.