Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


dotcomma.org: Introduction to CGI Part 3: Perl Variables

Jan 02, 2000, 16:06 (0 Talkback[s])
(Other stories by Adam Berlinsky-Schine)

"If you know any other programming language, you know what variables are. Furthermore, if you know other programming languages, you will be thrilled to see how Perl variables work. If you don't know other programming languages - well, it's not a difficult concept to understand. However, a solid understanding of variables is crucial to programming."

"What is a Variable?
A variable is a piece of memory on your computer that holds a specific piece of data. This data can be in the form of integers, real numbers, characters, or strings. You can store data into the variable and then retrieve it, display it, or modify it at any point in your program. For example, you may have a real number variable that the user inputs at one point in the program, then later in the program sales tax is added to it, then the final result is displayed. The program is relying on the number that the user enters to compute the final result."

Complete Story

Related Stories: