Not that we should clean-code it to 15 lines, but it's 400 lines long, lots of decisions in there, we should factor out common code and do a multi on $in, at least. Otherwise it's going to be almost impossible to fix stuff like #21
This might include also totally eliminate method csv, which only checks, and deletes, an arg, and does some stuff with meta which I don't really understand. Lots of is copy, too, which are really unnecessary.
That arg, also, should probably get out of the *%args pile and get a definition on its own.
Not that we should clean-code it to 15 lines, but it's 400 lines long, lots of decisions in there, we should factor out common code and do a multi on $in, at least. Otherwise it's going to be almost impossible to fix stuff like #21
This might include also totally eliminate
method csv, which only checks, and deletes, an arg, and does some stuff with meta which I don't really understand. Lots ofis copy, too, which are really unnecessary.That arg, also, should probably get out of the *%args pile and get a definition on its own.