"be consistent" | |
PerlMonks |
Unusual (and pointless?) idiom in old codeby ajmalton (Acolyte) |
on Sep 22, 2011 at 11:18 UTC ( [id://927325]=perlquestion: print w/replies, xml ) | Need Help?? |
ajmalton has asked for the wisdom of the Perl Monks concerning the following question: Ok, so I'm maintaining some quirky old (2000-2010) perl code not written by me and I see a large number of list initializations of the form: Now as far as I know this is a pointless variation on Can any wise one think of _any_ reason why I shouldn't just replace all these weird splices with the literal empty list?
Back to
Seekers of Perl Wisdom
|
|