Gossamer Forum
Home : General : Perl Programming :

really stupid questions... help?

Quote Reply
really stupid questions... help?
Okay, I can install like a wizard and even customize, but the thought of trying to write a script is a bit daunting because of three little things...

@
$
{ and }

What do these mean/do?? I see them everywhere but nowhere are they explained. I found a book in Borders last nite that had all of the different variables and such like this listed out with what they were and did; but I bought Matt Wright's CookBook instead (argh) simply because I knew who wrote it. While I am learning from the cookbook, I still don't have these three simple things explained...

Told ya it was a stupid question... help?

Raven
Quote Reply
Re: really stupid questions... help? In reply to
Hi,

$ - is a scalar variable.
@ - is an array
{ and } - just brackets used to enclose blocks of code.

I'd strongly suggest picking up Learning Perl by O'Reilly and Associates and learn perl before getting into CGI programming. It will help tremendously!

Cheers,

Alex
Quote Reply
Re: really stupid questions... help? In reply to
Tankee muchly Alex...
when are you going to put out a book?? Smile

Raven