in reply to Minor API changes in 10-year-old module
Are all the changes only related to die vs. return error codes? A fatal error is pretty easy to make non-fatal with eval {}, so it sounds like it wouldn't be too difficult to make your code have exactly the same API as the old module, or would it? If it's easy, then perhaps you could even consider making whether errors are fatal or not a configuration option.
I wouldn't worry all too much about people relying on $@ values, unless specific $@ values have been documented in the module's docs.
BTW, I think it's ok if you name the module, that might help, it's all open source anyway :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Minor API changes in 10-year-old module
by wanna_code_perl (Friar) on Sep 05, 2019 at 18:52 UTC |