Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Some of those are definitely on my list of things to read.
++Class::Accessor and DBIx::Class. I am not a big constant fan however. I went through a phase (well, probably about 2 years) of using them, but they can be fiddly at times, especially if you use them for complex data structures. You often end up with something like: which to me is just ugly, and gets unreadable pretty quickly, especially if you have constants in different packages. Besides that, I realised there's actually nothing stopping you modifying the values. Like most things in Perl, it's really just a convention. If that's the case, I'd rather just use uppercased variable names, which is a pretty widely used convention, and not as messy as the pragma. In reply to Re: Top 10 things to read when your flight is canceled
by Mutant
|
|