in reply to Re: The 'eval "require $module; 1"' idiom
in thread The 'eval "require $module; 1"' idiom
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: The 'eval "require $module; 1"' idiom (one character cargo cult)
by tobyink (Canon) on Apr 19, 2014 at 09:38 UTC | |
by Anonymous Monk on Apr 19, 2014 at 09:48 UTC | |
by LanX (Saint) on Apr 19, 2014 at 19:54 UTC | |
by Anonymous Monk on Apr 19, 2014 at 20:41 UTC |