Wanting to learn this stuff...

They have: 406 posts

Joined: Feb 2000

I really want to learn perl and cgi. For some reason i just cant pick it up. I have never been good at understanding languages. Any advice or help ya can give me? I want to really make it a goal of mine these next few months to learn it. Whats the first step? Do i need to know anything besides html to learn cgi and perl? Do i need to know html inside and out before i attempt learning this? Please give me the easiest advice. I bought a book but opened the first page and was totally confused It is "Perl and CGI" by Elizabeth Castro...please help!
Thanks guys!

------------------
Adam
[email protected]
C&C Wireless- For all your wireless needs!

Best Regards,

Adam Lee
DigitalONE Design
President - Internet Division
[email protected]
digitalonedesign.com

They have: 1,587 posts

Joined: Mar 1999

a book allow isn't gonna do it for u. u need to grab some free scripts and disect them and see what happens when u move/edit things.

------------------
CLICK 4 some tested resources for making money $, hosting, and web promotions.
My Site got hacked, but i'm coming back?

Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?

They have: 406 posts

Joined: Feb 2000

Do i need to download anything to be able to open the scripts? How do i know what they do and how to I preview them and what not?

------------------
Adam
[email protected]
C&C Wireless- For all your wireless needs!

Best Regards,

Adam Lee
DigitalONE Design
President - Internet Division
[email protected]
digitalonedesign.com

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

I started with installing a few scripts (doesn't matter really which ones, as long as they work) so I was familiar with the process of installation and what they looked like.

Then I moved to the Dummies book (Perl for Dummies) and then to the O'Reilly cookbook and the Perl 5 Pocket Reference. The whole time playing with and trying out stuff. But really, it was the combination of good references and playing (and asking questions of the folks here).

You can open Perl in a text editor. You don't need anything else to read perl programs, but you do need Perl itself to test it. For windows testing, www.activestate.com has a Perl for windows, which is great for testing for loops and other problems before trying it on your server (where you may have less control over fixing what you break).

hth,

Suzanne

------------------
Zero Cattle
Suzanne
Tables DeMystified

They have: 406 posts

Joined: Feb 2000

Thanks guys and girls...Do you have a exact link to where i can download active perl for Windows 2000? I tried downloading one thing but it didnt work.. I think it was for 98. Is there a specific one for 2000? I really am going to learn this stuff so please bear with all my questions im sure i will be having from hear on out

------------------
Adam
[email protected]
C&C Wireless- For all your wireless needs!

[This message has been edited by bilbong30 (edited 27 April 2000).]

Best Regards,

Adam Lee
DigitalONE Design
President - Internet Division
[email protected]
digitalonedesign.com

They have: 5,633 posts

Joined: Jan 1970

The book you’ve got (I believe I was the one that recommended it) is pretty basic. Try reading the first chapter completely, even if you don’t understand it. You should be able to grasp a few basic concepts from the first chapter, such as the difference between Perl and CGI.

In terms of testing.. You’ve got a few UNIX hosting accounts, just use one of them for now. If you start programming a lot, you’ll want a server and Perl installed right on your system.

I learned like Suzanne, by installing Perl scripts from public archives and trying to customize them. You’ll learn all the basics this way, i.e. how to set paths, CHMOD, Telnet/FTP, etc.

Good luck!

------------------
Adam
AIS Internet Solutions
[email protected]
www.aisinternet.com

They have: 406 posts

Joined: Feb 2000

Ok thanks guys. This should get me started What program do i need to view the scripts and test them? Adam were you saying jsut to upload them to the server and test them out that way? If thats the case what directory to i publish in? Well thanks for all your help. Im gonna really give it a shot!

------------------
Adam
[email protected]
C&C Wireless- For all your wireless needs!

Best Regards,

Adam Lee
DigitalONE Design
President - Internet Division
[email protected]
digitalonedesign.com

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Download a script and follow the instructions in the readme.txt file. That should get you going.

For on your PC, using Active State's version you view the results of the script in the MS DOS window. For on the server, you view the results in a browser (location of the script is the url -- so www.yourdomain.com/cgi-bin/script.pl or script.cgi).

Does that help?

Suzanne

------------------
Zero Cattle
Suzanne
Tables DeMystified

They have: 406 posts

Joined: Feb 2000

Yep that clears it up Thanks everyone!

------------------
Adam
[email protected]
C&C Wireless- For all your wireless needs!

They have: 1,587 posts

Joined: Mar 1999

cgi-resouces.com is a good place to find perl scripts. start with the easy scripts like counters to begin ur disecting/learning process.

good luck

------------------
CLICK 4 some tested resources for making money $, hosting, and web promotions.
My Site got hacked, but i'm coming back?

Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?

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.