P is for Practical | |
PerlMonks |
Re^2: The 'eval "require $module; 1"' idiom (one character cargo cult)by Anonymous Monk |
on Apr 19, 2014 at 09:25 UTC ( [id://1082879]=note: print w/replies, xml ) | Need Help?? |
I generally consider it to be cargo cult. There's no situation where require lives but returns false. So the threshold for "cargo cult programming" is one character? I don't think you can ever determine if this idiom is caro-cult based on this idiom, especially in isolation
In Section
Seekers of Perl Wisdom
|
|