Think about Loose Coupling | |
PerlMonks |
Re^3: any replacements for smartmatch on comparing two arraysby CountZero (Bishop) |
on Sep 24, 2015 at 16:48 UTC ( [id://1142936]=note: print w/replies, xml ) | Need Help?? |
You can always "inspire" yourself by looking at the source of List::Compare or Data::Compare and then include their code bodily into your script.
CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James My blog: Imperial Deltronics
In Section
Seekers of Perl Wisdom
|
|