The Geek Forum

  • May 15, 2024, 09:55:54 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Due to the prolific nature of these forums, poster aggression is advised.

*

Recent Forum Posts

Shout Box

Members
Stats
  • Total Posts: 129631
  • Total Topics: 7188
  • Online Today: 198
  • Online Ever: 1013
  • (January 12, 2023, 01:18:11 AM)

Author Topic: PERL?  (Read 1443 times)

The_FOO

  • Hacker
  • ****
  • Coolio Points: +61/-3
  • Offline Offline
  • Gender: Male
  • Posts: 1815
  • irc.hyperion.org:6667 #hn
    • View Profile
    • http://www.hyperion.org
PERL?
« on: June 20, 2004, 04:59:46 PM »

Anyone love it? Loathe it?

(Yes, I'm just posting this to force myself over the threshhold from 299 loot. :-)
Logged
http://www.errorfm.com/efm.pls
More FOOlish than you'll ever be.

gorgeous_si

  • Jail Bait
  • *
  • Coolio Points: +11/-0
  • Offline Offline
  • Posts: 188
    • View Profile
    • http://www.gorgeous-si.co.uk
Re: PERL?
« Reply #1 on: June 20, 2004, 05:15:07 PM »

Quote from: The_FOO
(Yes, I'm just posting this to force myself over the threshhold from 299 loot. :-)

loot whore!

I've never actually used PERL ... so I'm going to say I hate it, on the basis that if I was interested, I would have tried it by now. I'm still open for conversion though, What kind of language is it? What's it good for? How many lines does it take to write a 'Hello World'?
Logged

The_FOO

  • Hacker
  • ****
  • Coolio Points: +61/-3
  • Offline Offline
  • Gender: Male
  • Posts: 1815
  • irc.hyperion.org:6667 #hn
    • View Profile
    • http://www.hyperion.org
PERL?
« Reply #2 on: June 20, 2004, 05:30:00 PM »

#! /usr/bin/perl

print ("Hello World!\n");


All done. :-)

Perl is good for parsing log files or any sort of text input mainly. It's usefulness as a CGI language has mostly been replaced by PHP in recent times though.

P.S. I got my .sig though. ;-)
Logged
http://www.errorfm.com/efm.pls
More FOOlish than you'll ever be.

Demosthenes

  • Evil Ex-HN Moderator
  • Administrator
  • Hacker
  • *
  • Coolio Points: +567/-72
  • Offline Offline
  • Gender: Male
  • Posts: 9904
  • Just try me. See what happens.
    • View Profile
    • Zombo
PERL?
« Reply #3 on: June 21, 2004, 08:31:46 AM »

I'm used to Visual FoxPro, which is about the most forgiving programming language there is... so to me, languages like Perl are really nitpicky.

But it seems like a pretty handy language to know, if you are into web programming.  Even if you do everything in PHP, I think you'd do well to know Perl first as a foundation.
Logged

Coolio Points: 89,000,998,776,554,211,222
Detta Puzzle Points: 45

Banning forum idiots since 2001

The_FOO

  • Hacker
  • ****
  • Coolio Points: +61/-3
  • Offline Offline
  • Gender: Male
  • Posts: 1815
  • irc.hyperion.org:6667 #hn
    • View Profile
    • http://www.hyperion.org
PERL?
« Reply #4 on: June 21, 2004, 10:54:25 AM »

Yeah it does help with learning PHP which I'm just getting in to now.

The other benefit of Perl is that's almost sure to be installed on whatever flavour of *nix you happen to be using. Something that's not as sure with PHP or Python.
Logged
http://www.errorfm.com/efm.pls
More FOOlish than you'll ever be.