Oct 10, 2015, 3:27 AM
Post #3 of 3
In addition to all the comments by FishMonger, I would add that you should use proper and consistent indentation. Even though the compiler does not require it, correct indentation is neither an option, nor a nice thing to do, it is a MUST in almost any piece of code, well, at least in any Perl code having more than one line. Indent your code consistently, you'll save immense amounts of time.
Re: [FishMonger] Using LIKE erases data
[In reply to]
I might hire a developer making a stupid mistake in a coding test during a job interview (anyone can make errors), but I would never hire someone giving me such badly formatted and badly indented code, because it is a strong sign of sloppiness (and perhaps even disrespect for coworkers), and a sloppy developer is just a bad developer. Please, don't take that last sentence as a personal offense, but as a friendly advice both stemming from my personal experience and reflecting good practices universally accepted for nearly 50 years.