I like perl!!

They have: 5,633 posts

Joined: Jan 1970

i have this book which i started READING a while back and then got bored, today i picked it up and worked with it, and i finally came up with my own perl script!! Wooo hoo!

Tip to anyone that is about to start out, actually dont make the scripts that they show you how to make, make something you need and its alot more interesting

------------------
Join The Rest Of The Webmasters On The Net!!
Are You Chicken?
http://www.DoubleOK.com
http://www.Webmaster-Club.com

Ken Elliott's picture

They have: 358 posts

Joined: Jun 1999

Welcome DoubleOK. I too, just learned PERL. And I have to agree with you. I bought a PERL book and used it to make my own script. Worked on it for about 4 weeks, but it worked fairly well. Now I have 2 PERL books, a PHP book, and an ASP book(err..). They all are indespensable.

Just wanted to throw in what little brains I got left.
VulKen

Pimpin like a pimp with an electrofied pimpin machine!

They have: 314 posts

Joined: Nov 1999

i ordered a book from amazon yesterday, got it today and have started learning it. One thing, being the dumbass that I am what does the chomp thing do?

------------------
Thomas Minton
The JavaScript Place
Get paid $20 - $160 an hour for viewing adverts

They have: 14 posts

Joined: May 2000

Well, I just picked up perl a few months ago using free resources on the internet. I do that all the time! Don't forget to use the resources on the internet, free books, tutorials, scripts and more!

I agree with DoubleOK. I learnt (and still learn) by creating my own scripts. If I get stuck, I search for a solution in some mailing list archive, or I BUG my perl mentor

Chomp removes newline(char 13) & char 10 from a variable I think.

Regards
Arpith

------------------
Arpith.com

They have: 447 posts

Joined: Oct 1999

chomp($string) will remove the last character from $string ONLY if that character is a newline \n. chop($string) will remove the last character from $string regardless of what it is.

------------------

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.