Wow. All I can say was wow. Never before had I seen such a beast as this. To pull apart a file, they have used a `` call to cat with five pipes through grep. They dump this into a plain array. That's just how it starts. I count 35 system pipes through the whole script. I shudder to think how long this must take to run. I had to read through it 7 or 8 times just to understand it. Basically, it appears to be written by somene reasonably proficcient in Unix, but either just learning or not knowing perl.
All I can say is always ask to see the script you think you can re-write in seconds before you offer - else be stuck like me spending Sunday picking it apart with forceps just to see where all the parts are...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: the perils of others' perl - a cautionary tail...
by perrin (Chancellor) on Mar 10, 2002 at 18:53 UTC | |
Re: the perils of others' perl - a cautionary tail...
by particle (Vicar) on Mar 10, 2002 at 16:08 UTC | |
Re: the perils of others' perl - a cautionary tail...
by mojotoad (Monsignor) on Mar 11, 2002 at 01:39 UTC | |
Re: the perils of others' perl - a cautionary tail...
by Trimbach (Curate) on Mar 11, 2002 at 12:49 UTC | |
Re: the perils of others' perl - a cautionary tail...
by metadoktor (Hermit) on Mar 10, 2002 at 16:20 UTC | |
Re: the perils of others' perl - a cautionary tail...
by shotgunefx (Parson) on Mar 11, 2002 at 23:19 UTC | |
Re: the perils of others' perl - a cautionary tail...
by claree0 (Hermit) on Mar 11, 2002 at 22:37 UTC |