Developers and engineers are professionals. Living in a one room apartment or in someone's basement are not acceptable options. Salary needs to cover the cost of a single family house.
A decent house in a safe neighborhood in LA runs from $400,000 to $2 million. Yes, you can buy in the barrio for much less. You can also rent decently and that is what most in LA do. But to attract a developer who is married and has a family and who will be leaving his 4000 sq ft house on an acre of land, that is not a good option.
I agree completely that people in LA like it there and are OK with it. All I am saying is that recruitment is difficult from outside the area because nearly all developers are asked to take a huge hit on their standard of living when moving there. LA recruiters feel the low rates are justified because living in LA is considered itself to be a valuable benefit. Most people outside the area do not see it that way however.
Having lived in both areas, if a company in LA is really offering bay area salaries which are $110k-$170k, then yes, they are paying market rate. But a shop in LA offering $70k or even $90k is simply not comparable to a SF job at twice that, given that the costs of living in both areas for reasonable accommodations and commutes are essentially the same.
As far as free things to do, SF has LA beat by a mile.
It is amazing how much easier the commute is for a 11:30-7:30 day than a 9-5 one. So much so that I don't want to even consider jobs where I don't have that flexibility.
Also, working from home is pretty big - we allow about 20% of days to be WFH - and that's zero commute.
Additionally, while having a car is a requirement (as it is in all but a handful of US cities), cost of living is lower than in New York or SF, which are the two most likely alternatives. Rent is lower (my rent here is half of what it would be in those cities) and most of your weekend activities are either free (beach, mountains, etc) or cheaper than SF or NY. And there's more of them too: there aren't many places in the US where you can ski on Saturday and go play volleyball on the beach on Sunday, which is why much of our team are Seattle or San Fran weather refugees.
As for Perl, I'd argue that because the tech / web media industry here in LA is newer, there aren't as many folks around who date back to the years when Perl was the dominant platform. When I started developing for the web, it was one of the few practical options; now I'm sure I'd be starting with Ruby or Python. What we do is hire engineers who are smart enough to work in any language, and then let them pick up a book and learn Perl, rather than filter first for that specific language.