in reply to Re^3: Mixing procedural and OO code, one file.
in thread Mixing procedural and OO code, one file.
One note: use constant { .. }; requires a moderately recent Perl. This has bit me in the not-to-distant past... (Just a sidenote, since it's not easy to find the error when it happens.)
I find it odd that control over whether the warning or error is verbose or not is in the caller's control and not a configuration item.
The idea is that the caller can define whether a particular message is part of 'verbose' or not, and the configuration will define whether (and possibly how) they are output. So you can ask for errors, warnings, or both, and get either short or verbose versions.
This is fairly early stages in the design on this: I've got little more than a skeleton all in all. Just enough to see how it all works, not so much I can't re-organize it if I think I want to.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Mixing procedural and OO code, one file.
by ikegami (Patriarch) on Feb 05, 2009 at 18:55 UTC | |
by DStaal (Chaplain) on Feb 05, 2009 at 20:06 UTC |