Anybody here still do anything in Perl - or should i take everyone's advice

Discussion in 'Programming' started by Worthen, Jun 8, 2011.

  1. #1
    Everybody tells me to abandon my old perl scripts and use php. I still use an antique perl script called Smartsearch and also use a newer php one called Prosearch.

    I may be about the last person still using that old perl script. Should i go ahead and abandon it?
     
    Worthen, Jun 8, 2011 IP
  2. Scoding

    Scoding Well-Known Member

    Messages:
    1,091
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    155
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    I'd suggest using php, maybe it's because I'm so used to PHP, havent heard perl being used in a while, what is that you are trying to achieve?

    Thanks,
    S
     
    Scoding, Jun 8, 2011 IP
  3. Worthen

    Worthen Well-Known Member

    Messages:
    261
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Well i began using the perl script to power small search engines, over a decade ago. And at one point i changed to using it to power cpv .........by simply selecting the "direct feature" or taking the web user direct without seeing the search results page.

    The old perl script has flat files, but with the traffic passing through my server in fraction of a second, without the web user seeing my page, i could do over 6 million visitors per day on a VPS. It would get sluggish but not crash, and CPU usage was pegging out.

    When i tried the same with a php script it would crash with less than half the volume, of course that was a different host, so it wasn't apples to apples and it may have been more of a host problem.

    The old perl script lacks much reporting and lacks the ability to control geo accepted. I am considering adding those 2 features. But smarter folks than me tell me to stick with php :)
     
    Worthen, Jun 8, 2011 IP
  4. Scoding

    Scoding Well-Known Member

    Messages:
    1,091
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    155
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    Well depends how good the php script was, also depends on the server as you've said. I'd use a dedicated server if I was you, also make the code as efficient as possible using OOP
     
    Scoding, Jun 8, 2011 IP