Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 1st, 2005, 11:01 AM   #1
ercmilla
Newbie
 
Join Date: Dec 2005
Posts: 1
Rep Power: 0 ercmilla is on a distinguished road
is perl the answer? what say you...?

hello everyone. my name is eric and this is my first post. yessah! I'm in school trying to be an DBA, systems analyst, or something around those type things. Anyway, I've just started learning perl because my friend told me it was an excellent language to learn for communication with a database. is this the case? whats the meaning of life? is there a better language out there? i hear that php is, but i also hear otherwise. Also, if anyone can give me some advice on these professions id be really happy and be straight chillin fo sho. : cool :
ercmilla is offline   Reply With Quote
Old Dec 1st, 2005, 12:34 PM   #2
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
From what I've seen/heard Perl is a great language for that sort of stuff. But i prefer python for my scripting needs
__________________
Join us at #programmingforums @ irc.freenode.net!

My software never has bugs. It just develops random features.
coldDeath is offline   Reply With Quote
Old Dec 1st, 2005, 1:07 PM   #3
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
When I first came across Perl sometime around 2000, I found myself doing everything in it. A few years later, I discovered Python, and I haven't really touched Perl since.

Python's a very clean, and is completely object orientated. Perl's pretty messy, and the object system is something of a hack. Perl's still pretty good at short scripts, but it's a language that's less relevant these days.

Ruby is a language that could be arguably be described as Perl's spiritual successor. It's very OO, has the in-built regexs Perl has, and boasts some pretty advanced features, including continuations and anonymous methods.
Arevos is offline   Reply With Quote
Old Dec 1st, 2005, 1:22 PM   #4
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Perl was written as a report language. Wall and assigns did well with it over the years, predominantly because of a great attitude. I consider it somewhat outmoded. Strictly personal opinion. Don't know as coolness can rectify that, ya dig, hepcat?
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Dec 1st, 2005, 4:50 PM   #5
jim mcnamara
Hobbyist Programmer
 
Join Date: Jun 2005
Location: New Mexico
Posts: 228
Rep Power: 4 jim mcnamara is on a distinguished road
Actually what happens:
1. If you work in a small shop you have to use whatever is already in place - perl, ruby, etc. Then you can create new stuff using your own choice. To get the job in the first place you will need experience with whatever the shop now uses.

2. If you work in the corporate world, you will work in an extremely restricted range of tools, and require an act of God to use anyhting else for production. The tools you use to develop are your choice as long as you have a legal license to use them and cn talk the sysadmin into installing it....
jim mcnamara is offline   Reply With Quote
Old Dec 1st, 2005, 5:12 PM   #6
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Learning a programming language is a useful learning exercise. I'm a Java developer, professionally, but I would be a far worse programmer if I didn't know languages like Python, ML or Nice.

Besides, languages like Python or Ruby are far more fun to program in than 'mainstream' languages like VB, Java or C#
Arevos is offline   Reply With Quote
Old Dec 2nd, 2005, 10:11 AM   #7
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
I'm oldschool... so I like Perl moreso than Python... although Python is very nice also. If this is going to be a web app, I suggest PHP.

Example of connecting to MySQL via Perl:

#!/usr/bin/perl
 
use DBI;
 
$dbh = DBI->connect('dbi:mysql:DBNAME','USERID','PWD');
 
$sql = "select * from TABLENAME";
 
$sth = $dbh->prepare($sql);
 
$sth->execute ||
die "Could not execute SQL statement ... maybe invalid?";
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:09 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC